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 committed Oct 9, 2023
1 parent 64894c1 commit 6594659
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 6594659

Please sign in to comment.