Skip to content

Commit

Permalink
Add: Support zh languages for our i18n message extraction
Browse files Browse the repository at this point in the history
Support simple and traditional Chinese locales for our i18n message
extraction tooling.
  • Loading branch information
bjoernricks authored and timopollmeier committed Oct 10, 2023
1 parent 5f7fe2a commit 31d7d4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[
"i18next-extract",
{
"locales": ["de"],
"locales": ["de", "zh_TW", "zh_CN"],
"pluralSeparator": null,
"contextSeparator": null,
"nsSeparator": null,
Expand Down
2 changes: 1 addition & 1 deletion scripts/cleanuptranslations.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const fs = require('fs');

// all locales that are included in .babelrc
const languages = ['de'];
const languages = ['de', 'zh_TW', 'zh_CN'];

for (const lang of languages) {
const path = './public/locales/gsa-' + lang + '.json';
Expand Down

0 comments on commit 31d7d4b

Please sign in to comment.