Skip to content

Commit b4f1de6

Browse files
committed
feat: update i18next tooling
fixes some issues with plurals not working due to misconfigured tools
1 parent e899915 commit b4f1de6

52 files changed

Lines changed: 16355 additions & 9633 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DEVELOPER.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ For support of various languages in the GUI, Sofie uses the _i18next_ framework.
118118

119119
```bash
120120
cd meteor
121-
yarn i18n-extract-pot
121+
yarn i18n-extract-po
122122
```
123123

124-
Find the created `template.pot` file in `meteor/i18n` folder. Create a new PO file based on that template using a PO editor of your choice. Save it in the `meteor/i18n` folder using your [ISO 639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) of choice as the filename.
124+
Find the created `.po` files in `meteor/i18n` folder. Edit the appropriate PO file using a PO editor of your choice.
125125

126126
Then, run the compilation script:
127127

meteor/i18n/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.json

0 commit comments

Comments
 (0)