PDA

View Full Version : Is it possible to edit the source string using the linguist



wombel
20th January 2011, 14:43
The problem that I have is that other people (who are not programmers) of my project do the translations. They should use the linguist. Sometimes they have to edit the source strings, but I think there is no possibility to do this in the linguist.

high_flyer
20th January 2011, 15:09
There is no need to change strings in the source.
There are macros (tr("")) for the strings that need to be translated.
See documentation:
http://doc.trolltech.com/4.7/internationalization.html

wombel
20th January 2011, 15:28
I know the concept of using tr().
But if our man who translates our program says the source of our tranlation is wrong, he has to tell us by mail.
And then we have to correct it in our source code, do a lupdate, resend the ts - file to our translator ... and so on.
He cannot correct this mistake by using linguist because the mistake is in the source code or in ui - files.

wysota
20th January 2011, 15:32
For translation to work you need to correct the source code as well so your translator has to tell you about the problem by email anyway. Furthermore if you are maintaining more than one translation then correcting the original message by one translator would require all others to correct it as well. It's easier to do it at the level of the source code then you will always be in sync with all other people.