msgmerge --update yourpofile.po newerpotfile.pot
Is this what the "make update-po" does? That would suffice. I have been loking for a method of replicating what "make update-po" does, but on a single file (I believe it also uses the memory files). That would be the best solution.
Yes. But it doesn't use memory translation.
I know, the command above doesn't use memory. The Makefile does.
What we need is a method to do an update-po on a single file.
Open the update-po to see what it does.
I did, several times, but I don't understand it.
I know that something somewhere does something like this (looking at an old log output):
echo $po; \ if [ -f $po ]; then \ msgmerge --no-wrap --force-po -U $po -C ../../50-memory/memory.es.po $p; \ else \ msgmerge --no-wrap --force-po -o $po -C ../../50-memory/memory.es.po \ --verbose /dev/null $p; \ fi || { echo "msgmerge --no-wrap --force-po for \"$po\" failed" ; }; \ msgfmt --check --stat $po ; \ done
which I think applies memory, but not pot.
This uses a po compendium that is different to translation memories.
But I think that if you don't care about the translation process, and you only are a comitter, this command is the only thing you need. The translators could do the part of the memory, the translation, and that other stuff that you don't want to do.
You don't understand. I'm also a translator, and I commit the files I translate myself. I also have to commit files from others, and those I can not do the merge.
In the case of the files I translate, my local copy probably overwrites the server copy without my noticing (because a kbabel save will overwrite a previous "svn up" run without telling).
As to the translators doing the part of the memory... imposible. Nobody knows how to do that. I wrote most of the instructions and I don't know it...
Then don't use the memories. You don't need them for nothing. The example I put on my first message is to explain how to commit yours (or others) translation if the file changes in the serves after you (or others) start translating that file. This is the only thing you need (and to use the svn command and a program to translate the files :) ). Bye, Leandro Regueiro --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org