<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: RobertoSnap</title>
    <description>The latest articles on DEV Community by RobertoSnap (@robertosnap).</description>
    <link>https://dev.to/robertosnap</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F611818%2Fdc5a02e6-4676-4a40-a8f5-d157c8a9cfc1.jpeg</url>
      <title>DEV Community: RobertoSnap</title>
      <link>https://dev.to/robertosnap</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/robertosnap"/>
    <language>en</language>
    <item>
      <title>Inlang / ParaglideJS blew my mind 🤯</title>
      <dc:creator>RobertoSnap</dc:creator>
      <pubDate>Thu, 25 Jan 2024 09:02:42 +0000</pubDate>
      <link>https://dev.to/robertosnap/inlang-paraglidejs-blew-my-mind-3984</link>
      <guid>https://dev.to/robertosnap/inlang-paraglidejs-blew-my-mind-3984</guid>
      <description>&lt;p&gt;So I just created another SaaS product, Frakty.no (it's not released yet). It's pretty specific for the Norwegian market, but will need English translations at some point anyway. I also like to develop in English, and translate later.&lt;/p&gt;

&lt;p&gt;So I wrote the full thing in English, except the front page I wrote in Norwegian as it's pretty "markety".&lt;/p&gt;

&lt;p&gt;I sat down, googled "remix run translations". I first found the standard option (&lt;a href="https://github.com/sergiodxa/remix-i18next"&gt;sergiodxa/remix-i18next&lt;/a&gt;) which I think is pretty good, but as with any other translation plugin, it needs some intricate setup that usually brings some caveats.&lt;/p&gt;

&lt;p&gt;Then in this &lt;a href="https://github.com/remix-run/remix/discussions/4548"&gt;Github issue&lt;/a&gt;, I found something new and flashy, Paraglide JS.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Paraglide JS is now in pre-release and should fix all i18n issues of Remix. It is the most progressive i18n lib for JS by using tree-shakable message functions that only ship to the client what is used.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I tried it and it blew my mind. Even though it's early, it's 10x easier to set up and get going.&lt;/p&gt;

&lt;p&gt;Everything just works and most of the time with better functionality than expected.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr43ebkex9whf9eljl44i.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr43ebkex9whf9eljl44i.gif" alt="Image description" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Or auto-translate everything with&lt;br&gt;
&lt;code&gt;pnpx @inlang/cli machine translate --project project.inlang&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It just works, and it's so good. The VS Code extension (which I'm using in Cursor) is also just released... but so good.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkvvgdsmdxhfweqbj6qxp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkvvgdsmdxhfweqbj6qxp.png" alt="Image description" width="401" height="783"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I never write blog posts, but this was just too good not to share.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inlang.com/m/gerre34r/library-inlang-paraglideJs"&gt;Get started with Paraglide JS&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>inlang</category>
      <category>remix</category>
    </item>
  </channel>
</rss>
