goldendict-ng/website/docs/howto/how to update crowdin.ts file.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
733 B
Markdown
Raw Permalink Normal View History

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
```
2024-09-10 13:33:06 +00:00
lupdate.exe -no-obsolete -no-ui-lines -locations none .\src\ -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.