Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Internationalization(i18n) of your Next.js 13 apps using i18next - enterJS 2023

Internationalization(i18n) of your Next.js 13 apps using i18next - enterJS 2023

In this talk, learn how to build multilingual Next.js 13 apps using middleware and handle server-side and client-side rendering.

Do you want to build multilingual Next.js 13 apps? In this talk, learn about defining multilingual URL paths and handling internationalization (i18n) at the server and client side using middleware, i18next, and component level i18n. In addition, the talk will demonstrate how to determine user locale using middleware.

[email protected]

June 22, 2023
Tweet

Other Decks in Technology

Transcript

  1. @anilbms75 Agenda 1. Importance of Internationalization (i18n) 2. Nextjs 13

    Server Components i18n ◦ URL path ◦ Middleware ◦ Demo 3. I18n-ally tool
  2. my.app (Root page) my.app/en (English home page) my.app/de (German home

    page) my.app/en/my-second-page my.app/de/my-second-page
  3. Middleware is another part of your application—it’s code that executes

    before a request is processed on a site. That code will typically process or modify the response by rewriting and redirecting.
  4. @anilbms75 Resources 1. Demo app & GitHub repo 2. i18n

    with Next.js 13 and app directory 3. i18n your Nextjs 13 app using i18next demo video 4. I18n-ally tool