QT Linguist tool not picking up right translation
0
votes
1
answer
135
views
I am trying to use Translation feature in QT. There are more than 4000 translation needed to be done for one language. And I have to do this for more than 15 different languages. So, I decide to write
language.ts
files by shell scripts. After generating my language.ts
succesfully, I open the file in notepad++ (in windows) and I can see the expected translation in the file. For example, in Brazilian language, following is the translation code is language.ts
file:-
Cancel
Отказ
Now when I try open the file in QT Linguist
tool, I got following error:-
Parse error at lang_Brazil.ts:1:38:Encountered incorrectly encoded content.
As details provided in this website , I replace encoding value utf-8
with ISO-8859-1
.
Now I can open the file in QT Linguist
but the translation is showing wrong characters, ex:- for Cancel it is showing Îòêàç
(expected translation is Отказ
).
Please confirm why it is not taking right translation in QT linguist while I can see it if I open language.ts file in notepad++.
Asked by tabish
(510 rep)
Nov 9, 2023, 09:55 AM
Last activity: Nov 9, 2023, 03:49 PM
Last activity: Nov 9, 2023, 03:49 PM