Skip to content

Modern Docker Management, Designed for Everyone

chore(translations): fix Chinese locale files

Kyle Mendell4c01ae13bbc6
diff --git a/frontend/messages/zh.json b/frontend/messages/zh-CN.json
similarity index 100%
rename from frontend/messages/zh.json
rename to frontend/messages/zh-CN.json
diff --git a/frontend/project.inlang/settings.json b/frontend/project.inlang/settings.json
index 3484a7ffa..a3790cfe9 100644
--- a/frontend/project.inlang/settings.json
+++ b/frontend/project.inlang/settings.json
@@ -1,7 +1,7 @@
{
"$schema": "https://inlang.com/schema/project-settings",
"baseLocale": "en",
- "locales": ["en", "el", "es", "nl", "zh", "fr", "eo", "de", "it", "pt-BR", "ru", "ja", "vi", "zh-TW"],
+ "locales": ["en", "el", "es", "nl", "fr", "eo", "de", "it", "pt-BR", "ru", "ja", "vi", "zh-CN", "zh-TW"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@2/dist/index.js"
diff --git a/frontend/src/lib/components/locale-picker.svelte b/frontend/src/lib/components/locale-picker.svelte
index d98d2915e..74685a96d 100644
--- a/frontend/src/lib/components/locale-picker.svelte
+++ b/frontend/src/lib/components/locale-picker.svelte
@@ -34,8 +34,8 @@
nl: 'Nederlands',
'pt-BR': 'Português brasileiro',
ru: 'Русский',
- zh: '中文',
vi: 'Tiếng Việt',
+ 'zh-CN': '中文',
'zh-TW': '繁體中文'
};