<?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: MokDevelopment</title>
    <description>The latest articles on DEV Community by MokDevelopment (@mokdev).</description>
    <link>https://dev.to/mokdev</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%2F895031%2F38371e3d-559c-48f4-8e60-cda61ed9dfc7.png</url>
      <title>DEV Community: MokDevelopment</title>
      <link>https://dev.to/mokdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mokdev"/>
    <language>en</language>
    <item>
      <title>i18Next's default locale and next build command</title>
      <dc:creator>MokDevelopment</dc:creator>
      <pubDate>Sun, 26 Feb 2023 19:27:04 +0000</pubDate>
      <link>https://dev.to/mokdev/i18nexts-default-locale-and-next-build-command-b7</link>
      <guid>https://dev.to/mokdev/i18nexts-default-locale-and-next-build-command-b7</guid>
      <description>&lt;p&gt;Hi there. &lt;/p&gt;

&lt;p&gt;As i18Next has no native way to force the locale as a folder prefix we all use this "default" hack. By doing so "default" is redirected via middleware to "en" (if thats your default lang) to ensure the folder structure stays the same for all the languages. &lt;/p&gt;

&lt;p&gt;Fair enough - feels a little bit hacky and not native  - but why not - it does its job. &lt;/p&gt;

&lt;p&gt;My problem is now that &lt;code&gt;next build&lt;/code&gt; tries to create pages for "default" as well. How do I suppress this error creating step?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe0u539dfq8u25f3z2a4h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe0u539dfq8u25f3z2a4h.png" alt=" " width="800" height="103"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
