🌍 i18n: Add Thai Language Support and Update Translations #6219
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.
Summary
Closes: #6214
Docs: LibreChat-AI/librechat.ai#259
This pull request includes changes to add support for the Thai language in the application. The most important changes involve updating language options, localization files, and the language resource configuration.
Localization updates:
client/src/components/Nav/SettingsTabs/General/General.tsx
: Added Thai language option to the language selector.client/src/locales/en/translation.json
: Added the Thai language entry to the English translations file.client/src/locales/th/translation.json
: Created an empty Thai translations file.Language resource configuration:
client/src/locales/i18n.ts
: Updated import statements and resource configuration to include Thai translations. [1] [2]client/src/locales/i18n.ts
: Minor formatting change to the fallback language configuration.Change Type
Testing
Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.
Test Configuration:
Checklist