mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
feat(i18n): add French (fr-FR) locale support (#3126)
* feat(i18n): add French (fr) locale translations * fix translation key mismatch for 'Models: Qwen latest models' fix translation key mismatch for 'Models: Qwen latest models' Add missing trailing \n to the English lookup key so the French translation is correctly matched by the i18n system. Suggested by @wenshao in code review. Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> * fix(i18n): fix translation key mismatch for 'Models: Qwen latest models' * fix(schema): add fr to settings.schema.json language enum * fix(i18n): remove duplicate key 'Models: Qwen latest models' in fr.js --------- Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
This commit is contained in:
parent
81ccbb976c
commit
9a636ef812
3 changed files with 2096 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ export type SupportedLanguage =
|
|||
| 'de'
|
||||
| 'ja'
|
||||
| 'pt'
|
||||
| 'fr'
|
||||
| string;
|
||||
|
||||
export interface LanguageDefinition {
|
||||
|
|
@ -61,6 +62,12 @@ export const SUPPORTED_LANGUAGES: readonly LanguageDefinition[] = [
|
|||
fullName: 'Portuguese',
|
||||
nativeName: 'Português',
|
||||
},
|
||||
{
|
||||
code: 'fr',
|
||||
id: 'fr-FR',
|
||||
fullName: 'French',
|
||||
nativeName: 'Français',
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
2086
packages/cli/src/i18n/locales/fr.js
Normal file
2086
packages/cli/src/i18n/locales/fr.js
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue