mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 19:59:21 +08:00
fix: add Indonesian (id-ID) language support and improve language selector (#24951)
This commit is contained in:
@@ -48,7 +48,7 @@ By default we will use `LanguagesSupported` to determine which languages are sup
|
||||
|
||||
```
|
||||
cd web/i18n
|
||||
cp -r en-US fr-FR
|
||||
cp -r en-US id-ID
|
||||
```
|
||||
|
||||
2. Modify the translation files in the new folder.
|
||||
@@ -68,6 +68,8 @@ export type I18nText = {
|
||||
'ru-RU': string
|
||||
'it-IT': string
|
||||
'uk-UA': string
|
||||
'id-ID': string
|
||||
'tr-TR': string
|
||||
'YOUR_LANGUAGE_CODE': string
|
||||
}
|
||||
```
|
||||
@@ -146,8 +148,8 @@ export const languages = [
|
||||
{
|
||||
value: 'id-ID',
|
||||
name: 'Bahasa Indonesia',
|
||||
example: 'Saluto, Dify!',
|
||||
supported: false,
|
||||
example: 'Halo, Dify!',
|
||||
supported: true,
|
||||
},
|
||||
{
|
||||
value: 'uk-UA',
|
||||
|
||||
Reference in New Issue
Block a user