Skip to content
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

feat: Setup i18n migration #1923

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

Conversation

codemod[bot]
Copy link

@codemod codemod bot commented Jan 20, 2025

📚 Description

This pull request establishes the foundational setup for internationalization (i18n) in the codebase by adding react-i18next, 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

Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dub ❌ Failed (Inspect) Jan 20, 2025 7:19pm

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

socket-security bot commented Jan 20, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None +3 305 kB
npm/[email protected] None +4 23.6 MB adrai, jamuhl
npm/[email protected] environment +9 2.12 MB amann
npm/[email protected] None +5 692 kB adrai

View full report↗︎

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.

1 participant