Skip to content

feat: Setup i18n migration #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

codemod-dev[bot]
Copy link

@codemod-dev codemod-dev bot commented Mar 14, 2025

📚 Description

This pull request establishes the foundational setup for internationalization (i18n) in the codebase by adding next-intl to package.json dependencies and creating an i18n configuration file. The configuration initializes the library, sets up default language detection with fallback mechanisms, and includes boilerplate for namespace management and resource loading.

Codemod Project

🧪 Test Plan

Please note that this PR is a prerequisite for the i18n codemod and will not have any visible changes in the application. The following steps are recommended to validate the setup:

  1. Verify that the i18n library has been added to the project dependencies.
  2. Check the i18n configuration file for the correct initialization settings.
  3. Ensure that the default language is set up and that fallback behavior is working as expected.
  4. Confirm that the i18n setup does not introduce any errors or warnings during the build process.

The following changes will come next:

  • Add language-specific translations.
  • Implement dynamic language switching.
  • Enforce proper linting to prevent hardcoded strings.

📄 Documentation to Update

N/A

@codemod-dev codemod-dev bot force-pushed the codemod_4dc750_i18n_setup branch from 608a68e to 3c7edfb Compare March 14, 2025 00:03
@codemod-dev codemod-dev bot mentioned this pull request Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants