Building a multilingual NextJS app using the new app directory

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. next-i18next

    The easiest way to translate your NextJs apps.

    With the introduction of app directory, my previous i18n blog is not applicable anymore since next-i18next is not necessary.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. degit

    Straightforward project scaffolding

    The easiest way to follow this guide is to degit a Nextjs boilerplate.

  4. i18next-resources-to-backend

    This package helps to transform resources to an i18next backend

    i18next-resources-to-backend is a very small utility, so you can just copy the implementation if you don't want an additional dependency.

  5. i18next

    i18next: learn once - translate everywhere

    // app/components/BuiltInFormatsDemo.tsx 'use client'; import React from 'react'; import {useTranslation} from '../i18n/client'; import type {LocaleTypes} from '../i18n/settings'; import {useParams} from 'next/navigation'; const BuiltInFormatsDemo = () => { let locale = useParams()?.locale as LocaleTypes; const {t} = useTranslation(locale, 'built-in-demo'); return (

    {/* "number": "Number: {{val, number}}", */} {t('number', { val: 123456789.0123, })} p>

    {/* "currency": "Currency: {{val, currency}}", */} {t('currency', { val: 123456789.0123, style: 'currency', currency: 'USD', })} p>

    {/* "dateTime": "Date/Time: {{val, datetime}}", */} {t('dateTime', { val: new Date(1234567890123), formatParams: { val: { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', }, }, })} p>

    {/* "relativeTime": "Relative Time: {{val, relativetime}}", */} {t('relativeTime', { val: 12, style: 'long', })} p>

    {/* "list": "List: {{val, list}}", */} {t('list', { // https://www.i18next.com/translation-function/objects-and-arrays#objects // Check the link for more details on `returnObjects` val: t('weekdays', {returnObjects: true}), })} p> div> ); }; export default BuiltInFormatsDemo;

  6. i18next-browser-languageDetector

    language detector used in browser environment for i18next

    Install i18next-browser-languagedetector to simplify language detection in the frontend

  7. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Internationalization with ReactJS and i18n

    3 projects | dev.to | 1 Jul 2022
  • How to Internationalize a React App

    8 projects | dev.to | 2 Sep 2021
  • Supercharge Your TypeScript App: Mastering i18next for Type-Safe Translations

    6 projects | dev.to | 22 Jun 2023
  • From Mono to Multilingual: Supercharge Your React App with i18n

    2 projects | dev.to | 21 May 2023
  • How to internationalize a Remix application (Part 2)

    7 projects | dev.to | 3 Mar 2022

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?