开发者

Restore QT application to default language?

Default language of my application is English. I created a translation to another language and that works just fine.

However, I did not find any easy way to reset app to the default language. I could create .ts file for the default language as well, but that seems a bit awkward (and I do not seem to find any开发者_运维知识库 automatic way in linguist that would automatically generate ts file of the default language).

So how can I reset my app to the default language?

Tnx


If you leave text untranslated in ts file, it will appear untranslated. so the simplest way is to add translation file for the default language but leave it empty.

There is also flag -pluralonly for lupdate, which will skip all translations exept plural forms, which would be useful to translate even in default language.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜