Talk To The Gatsby Experts Optimize your website with professional support and services. Learn more

  • Support
    Support
  • Contact
    Contact
  • Log in
    Log in
    • Docs

      • Documentation

        Documentation

        Start building with Gatsby and its ecosystem tools

          • Get Started

            • Documentation
            • Quick Start
            • Tutorial
            • Cheat Sheet
          • Guides

            • How-To Guides
            • Reference Guides
            • Conceptual Guides
    • Plugins
      Plugins
    • Features

      • Feature Comparison

        Feature Comparison

        See how Gatsby compares to other JAMstack frameworks and traditional content management systems (CMS)

          • Jamstack

            • Gatsby vs Next
            • Gatsby vs Jekyll vs Hugo
            • Gatsby vs Nuxt
          • Traditional CMS

            • WordPress
            • Drupal
      • Plugins

        Plugins

        RSS feed? SEO? Shopify integration? There’s a plugin for that!

            • Documentation
            • Library
      • Recipes

        Recipes

      • Themes

        Themes

    • Use Cases

      • Use Cases

        Use Cases

        Explore the many ways to use Gatsby:

          • By Industry

            • Software & SaaS
            • Consumer Finance & Insurance
            • E-commerce
            • Public Interest Organizations
            • Content & Media
          • By Technology

            • WordPress
            • Contentful
            • Drupal
            • Shopify
      • Webinars

        Webinars

        Learn more with webinars on demand

          • Latest webinars

            • This Changes Everything: Incremental Builds in Gatsby
            • Matter Supply: Just Do It 2.0
    • Community

      • Community

        Community

        We’re so glad you want to help! Here’s how to get started:

          • Contributing

            • Why contribute
            • How to contribute
            • Code of Conduct
            • Style Guide
          • Twitch
          • Discord
          • YouTube
      • Showcase

        Showcase

        Check out what the community is building

      • GatsbyConf

        GatsbyConf

        Join us for GatsbyConf - March 2-3, 2021!

      • Swag Store

        Swag Store

        Get free swag by contributing to Gatsby!

    • Blog
      Blog
    • Gatsby Cloud

      • Why Gatsby Cloud?

        Why Gatsby Cloud?

      • Integrations

        Integrations

        Gatsby Cloud is the best way to use Gatsby's thriving plugin ecosystem:

            • WordPress
            • Drupal
            • Strapi
            • Contentful
            • Dato CMS
            • Kontent Kontent
            • Sanity
            • Cosmic
            • Contentstack
          • Explore all Integrations
      • Pricing

        Pricing

      • Knowledge Base

        Knowledge Base

      • Concierge

        Concierge

        Dedicated Gatsby support to turbocharge your site

    • Get Started
      Get Started
Community Plugin
View plugin on GitHub
See starters using this

Gatsby plugin i18n

Similar projects

  • gatsby-plugin-intl
  • using-i18n
  • gatsby-plugin-i18n
  • gatsby-plugin-intl-url

Links

  • https://www.gatsbyjs.org/blog/2017-10-17-building-i18n-with-gatsby/
  • https://hiddentao.com/archives/2019/05/07/building-a-multilingual-static-site-with-gatsby
  • https://react.i18next.com/latest/i18nextprovider
  • About 404:

    • https://www.gatsbyjs.org/docs/creating-prefixed-404-pages-for-different-languages/
    • https://github.com/wiziple/gatsby-plugin-intl/blob/master/src/gatsby-node.js#L51-L55
    • https://www.gatsbyjs.org/packages/gatsby-plugin-netlify/

Issues

Trailing slashes

Netlify when loading a page directly or refreshing the browser when you are on a page without a trailing slash it will redirect to the same url with a trailing slash, this happens even with Pretty URLS setting disabled on Netlify panel. See this issue https://github.com/gatsbyjs/gatsby/issues/9207[https://github.com/gatsbyjs/gatsby/issues/9207]. Until this issue with netlify is not solved we set by default trailing slashed on all paths.

Custom slugs

  • Custom slugs and Netlify CMS https://github.com/netlify/netlify-cms/issues/445
  • Accessibility Statement
  • Code of Conduct
  • Logo & Assets
  • Privacy Policy