Skip to content

Commit 18af15a

Browse files
committed
fix(i18n): all Chinese and German translation almost done
1 parent c225646 commit 18af15a

35 files changed

+3029
-209
lines changed

i18next-parser.config.mjs

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@ export default {
55
locales: ['en', 'zh', 'de'],
66
output: 'src/i18n/locales/$LOCALE/$NAMESPACE.json',
77
input: ["src/**/*.{ts,tsx}"],
8-
defaultValue: (locale, namespace, key, value) => key,
9-
}
8+
keepRemoved: true,
9+
// Key separator used in your translation keys
10+
// If you want to use plain english keys, separators such as `.` and `:` will conflict. You might want to set `keySeparator: false` and `namespaceSeparator: false`. That way, `t('Status: Loading...')` will not think that there are a namespace and three separator dots for instance.
11+
keySeparator: false,
12+
namespaceSeparator: false,
13+
defaultValue: (locale, namespace, key, value) => value || key,
14+
}

0 commit comments

Comments
 (0)