mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
Added French language support (#9173)
### What problem does this PR solve? Implemented French UI translation ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: ramin cedric <> Co-authored-by: Liu An <asiro@qq.com>
This commit is contained in:
@ -49,8 +49,8 @@ export const LanguageList = [
|
||||
'Japanese',
|
||||
'Portuguese BR',
|
||||
'German',
|
||||
'French',
|
||||
];
|
||||
|
||||
export const LanguageMap = {
|
||||
English: 'English',
|
||||
Chinese: '简体中文',
|
||||
@ -61,6 +61,7 @@ export const LanguageMap = {
|
||||
Japanese: '日本語',
|
||||
'Portuguese BR': 'Português BR',
|
||||
German: 'German',
|
||||
French: 'Français',
|
||||
};
|
||||
|
||||
export enum LanguageAbbreviation {
|
||||
@ -73,6 +74,7 @@ export enum LanguageAbbreviation {
|
||||
Vi = 'vi',
|
||||
PtBr = 'pt-BR',
|
||||
De = 'de',
|
||||
Fr = 'fr',
|
||||
}
|
||||
|
||||
export const LanguageAbbreviationMap = {
|
||||
@ -85,6 +87,7 @@ export const LanguageAbbreviationMap = {
|
||||
[LanguageAbbreviation.Ja]: '日本語',
|
||||
[LanguageAbbreviation.PtBr]: 'Português BR',
|
||||
[LanguageAbbreviation.De]: 'Deutsch',
|
||||
[LanguageAbbreviation.Fr]: 'Français',
|
||||
};
|
||||
|
||||
export const LanguageTranslationMap = {
|
||||
@ -97,6 +100,7 @@ export const LanguageTranslationMap = {
|
||||
Japanese: 'ja',
|
||||
'Portuguese BR': 'pt-br',
|
||||
German: 'de',
|
||||
French: 'fr',
|
||||
};
|
||||
|
||||
export enum FileMimeType {
|
||||
|
||||
Reference in New Issue
Block a user