[translate-pootle] How to automate updates from a SVN repository

2007-04-15 Thread Christian Perrier
The http://i18n.debian.net:8080/projects/test/ project is a Pootle
project using the Debian Installer translation files directly from D-I
SVN.

If I go on a given translation (say, French), I can update the file
from D-I SVN.

However, what I would like to do is automating this process for all
languages so that this project is always up-to-date.

Of course, I can cd /var/lib/pootle/test ; svn up but what will then
happen to strings modified by the translators in case they didn't
commit them yet...and the file was changed in the SVN (for instance
because strings have been added meanwhile).

I suppose that the Update option from Pootle handles such
conflicts...but I guess that a svn up will not handle them.

Is is possible to run the Update function from a script and not from
Pootle's web interface?



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Translate-pootle mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] How to automate updates from a SVN repository

2007-04-15 Thread Christian Perrier
 I suppose that the Update option from Pootle handles such
 conflicts...but I guess that a svn up will not handle them.

It does not. If I use the Update function for a given file in a
project which uses SVN repository, the changes I made locally without
committing are overwritten by the content of the translations from the
SVN server.

That makes any automated SVN update very likely to discard changes
made through the Pootle interface and not committed.





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Translate-pootle mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/translate-pootle