goldendict-ng/website/docs/howto/how to update crowdin.ts file.md
xiaoyifang 25a04e59f8
I18n: update ts (#1009)
* i18n: update ts

* doc: update docs
2023-07-27 07:39:49 +08:00

11 lines
741 B
Markdown

This project uses crowdin to organize all the transactions.When some new transactions items are added.The crowdin.ts file needs to be updated to reflect the changes. Then crowdin will automatically generate all other transactions in different languages(Though all these translations still need to be translated manually or by Machine Translation).
# how to update the crowdin.ts file
```
lupdate-pro.exe -no-obsolete -no-ui-lines -locations none goldendict.pro -ts locale\crowdin.ts
```
the option `-no-obsolete` will remove obsolete items from crowdin.ts file.
the option `-no-ui-lines` will not generate line numbers in the crowdin.ts file. The line numbers changes too often which will make too much code changes between commits.