mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
Feat: Add german translations (#5866)
### What problem does this PR solve? Add Support for german language ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -48,6 +48,7 @@ export const LanguageList = [
|
||||
'Vietnamese',
|
||||
'Japanese',
|
||||
'Portuguese BR',
|
||||
'German',
|
||||
];
|
||||
|
||||
export const LanguageMap = {
|
||||
@ -59,6 +60,7 @@ export const LanguageMap = {
|
||||
Vietnamese: 'Tiếng việt',
|
||||
Japanese: '日本語',
|
||||
'Portuguese BR': 'Português BR',
|
||||
German: 'German',
|
||||
};
|
||||
|
||||
export enum LanguageAbbreviation {
|
||||
@ -70,6 +72,7 @@ export enum LanguageAbbreviation {
|
||||
Es = 'es',
|
||||
Vi = 'vi',
|
||||
PtBr = 'pt-BR',
|
||||
De = 'de',
|
||||
}
|
||||
|
||||
export const LanguageAbbreviationMap = {
|
||||
@ -81,6 +84,7 @@ export const LanguageAbbreviationMap = {
|
||||
[LanguageAbbreviation.Vi]: 'Tiếng việt',
|
||||
[LanguageAbbreviation.Ja]: '日本語',
|
||||
[LanguageAbbreviation.PtBr]: 'Português BR',
|
||||
[LanguageAbbreviation.De]: 'Deutsch',
|
||||
};
|
||||
|
||||
export const LanguageTranslationMap = {
|
||||
@ -92,6 +96,7 @@ export const LanguageTranslationMap = {
|
||||
Vietnamese: 'vi',
|
||||
Japanese: 'ja',
|
||||
'Portuguese BR': 'pt-br',
|
||||
German: 'de',
|
||||
};
|
||||
|
||||
export enum FileMimeType {
|
||||
|
||||
Reference in New Issue
Block a user