Gettext, changing msgids and launchpad

Asked by Severin Räz

Hello

We're preparing to move our project to launchpad. One of the coolest features will be the translation interface lp delivers.

Now here's what we're currently worrying about:

Say there is a lot of code and several languages, all translated.
Now as I'm writing something, I come across a misspelled message string in the code, and I do naturally correct it.

When i commit my changes - what happens to all the translations of this string?
I know there are shell-based workarounds, but what happens in the launchpad environment? Are they lost if we don't manually correct the msgids in the respective .po-files?
Does lp somehow merge the changes with the existing .po-files on commit?

I think somebody's come across this earlier and would be glad if anybody can tell me.

-severin

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Jeroen T. Vermeulen Edit question
Solved by:
Jeroen T. Vermeulen
Solved:
Last query:
Last reply:
Whiteboard:
Hi Jeroen, can you reply to this question? I'm assigning to you since you're in a maintenance squad and is the translations expert. Thanks!
Revision history for this message
Best Jeroen T. Vermeulen (jtv) said :
#1

Unfortunately, yes, when you correct a typo you effectively create a completely new string that's not related to the old one. There is very little that can be done about this, since it's hard for software to judge the difference between an unimportant change and an important one.

Revision history for this message
Severin Räz (severin-raez) said :
#2

Thank you for your answer.

Revision history for this message
Severin Räz (severin-raez) said :
#3

Thanks Jeroen T. Vermeulen, that solved my question.