This PR adds internationalization (i18n) support to the Mirrorful Editor Dashboard. It leverages Next.js's built-in support for i18n routing and integrates an existing i18n library solution to handle the translation of text in the application.
Summary of Changes
Added i18n configuration to the next.config.js file in the Mirrorful Editor directory. The configuration specifies the list of supported locales and the default locale.
Wrapped the entire application with the i18n provider from the chosen i18n library in the _app.tsx file.
Created translation files for each supported locale in the locales directory under the src directory.
Please review and merge this PR to enable internationalization in the Mirrorful Editor Dashboard.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
Description
This PR adds internationalization (i18n) support to the Mirrorful Editor Dashboard. It leverages Next.js's built-in support for i18n routing and integrates an existing i18n library solution to handle the translation of text in the application.
Summary of Changes
next.config.js
file in the Mirrorful Editor directory. The configuration specifies the list of supported locales and the default locale._app.tsx
file.locales
directory under thesrc
directory.Please review and merge this PR to enable internationalization in the Mirrorful Editor Dashboard.
Fixes #1.
To checkout this PR branch, run the following command in your terminal: