-
Notifications
You must be signed in to change notification settings - Fork 16.4k
i18n: Move translations to ui/public and enable dynamic loading to reduce bundle size
#51735
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
13ab182
Feat(i18n): Move translation files to public, use i18next-http-backend
choo121600 0a90623
Adopted i18next-http-backend
choo121600 2b8be2a
Fix(i18n): Update locales directory path to public for translation files
choo121600 40ed727
Fix(i18n): Update static file path for translation locales
choo121600 a28bb14
Fix(i18n): Update translation config file path
choo121600 6ad821d
Fix(i18n): Update ESLint configuration to include jsonc-parser
choo121600 a70a358
Fix(i18n): Update ESLint file patterns and add 'components' to namesp…
choo121600 48fcb91
Fix(i18n): Initialize i18n(en) in DagCard tests
choo121600 50267c3
chore: enforce consistent array type syntax per @typescript-eslint rule
choo121600 2010dcf
Revert "chore: enforce consistent array type syntax per @typescript-e…
choo121600 71cfb8d
Fix(i18n): Ignore i18n locale files in ESLint TypeScript rules
choo121600 fda512b
Fix(tests): Remove unused imports and clean up test setup
choo121600 0a0818e
Apply pre-commit formatting to openapi-gen/ files as per #51755
choo121600 efb2a73
Fix(eslint): Update i18n and TypeScript rules configuration
choo121600 6376d32
Apply ESLint and i18nRule
choo121600 636cfcb
Mov Arabic and French translations to public
choo121600 ee05571
Fix: Update translation file paths to public directory
choo121600 fea261a
Moved i18n doc and completeness checker script from public to dev/i18n
choo121600 f36856d
fix(i18n): i18n policy document translation completeness check command
choo121600 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,5 @@ dist/ | |
| *.yaml | ||
| coverage/* | ||
| .pnpm-store | ||
| src/i18n/locales/* | ||
| public/i18n/locales/* | ||
| openapi-gen/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.