View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#1251
Originally Posted by R@ptor View Post
Hi marxian. Can you give me some hint to solve my issue? I'm trying to translate cuteTube, but when I put qm file generated from ts file to /opt/usr/share/qmltube/qml/qmltube/i18n and start cutetube, application is still in English (for testing purposes I'm translating english language file) instead of in my language.

From which file is application taking an English strings, when original English (qml_en.qm) file is already translated? From base.qm?

Or maybe some error in generated qm file?
The qml_en.qm file is used for the English strings, although there is no difference between that file and the base.qm file. If you are translating to a language that is not included in the settings, then it will not work, as the application only looks for the supported language codes, which are:

Code:
de, en, fi, de, it, pl, pt, ru
If you replace one of the existing files with you own, then it should work. If you have an additional language that you would like the application to support, then you can post the .ts file here and I will include it in the next update.

EDIT: I might in future enable users to add any language of their choice by detecting the available translation files and adding the appropriate entries to the settings dialog.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2011-08-08 at 22:09.