-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Enables Hindi language #6570 #6571
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
"langDir": "ltr", | ||
"dateFormat": "DD/MM/YYYY", | ||
"hrefLang": "hi", | ||
"enabled": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"enabled": true, | |
"enabled": false, |
@@ -0,0 +1,291 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PLEASE, read translation.md
} else if (locale === 'hi') { | ||
// This enables Hindi locale | ||
return import('./i18n/locales/hi.json').then(f => f.default); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} else if (locale === 'hi') { | |
// This enables Hindi locale | |
return import('./i18n/locales/hi.json').then(f => f.default); | |
} else if (locale === 'hi') { | |
// This enables Hindi locale | |
return import('./i18n/locales/hi.json').then(f => f.default); |
remove that
Description
This PR enables Hindi language support in the application by implementing functionality to dynamically load Hindi translations when the user selects Hindi as their preferred language. It includes updating the codebase to handle language selection and loading the corresponding translation files for Hindi. Additionally, it ensures that the application's user interface elements are appropriately localized in Hindi.
Validation
Related Issues
Fixes #6570 Related to #6508
Check List
npx turbo format
to ensure the code follows the style guide.npx turbo test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.