Re: PO files are not updated automatically in SVN
On 8/15/07, 杨章 <[EMAIL PROTECTED]> wrote: > Thanks so much. I have got the point now. The standard way should be co the > whole source tree while for these don't want to check out the whole tree > damned lies can be utilized. Maybe having some scripts auto-update the whole > po directory should be really time consuming. Auto-updating with scripts directly in the repository is a dangerous thing, since it causes conflicts (you check out a file to work on it, then the script would update it in the mean time, and then you would have a conflict when you commit your work back to the repository). Such conflicts are both a waste of time and time consuming to resolve, so this is not the way it's done in the GNOME repository. Instead, you have Damned Lies, from which you can always get a fresh po file to start your work on, if you do not want to run intltool-update yourself. Christian ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: PO files are not updated automatically in SVN
Thanks so much. I have got the point now. The standard way should be co the whole source tree while for these don't want to check out the whole tree damned lies can be utilized. Maybe having some scripts auto-update the whole po directory should be really time consuming. 2007/8/15, Claude Paroz <[EMAIL PROTECTED]>: > > Le mercredi 15 août 2007 à 19:21 +0800, 杨章 a écrit : > > Thanks for your reply. But I have another problem with this. Usually, > > I use "svn co svn+ssh://[EMAIL PROTECTED]/svn/software/trunk/po > > software-trunk" to check out only the po files. And there is the > > problem: intltool-update can not be run in this po directory directly. > > I suggest we use some kind of script to automatically update the po > > files, since check out the whole source tree is really time&space > > consuming. > > There is already three possibilities for this: > 1. using the method suggested by Iestyn (intltool-update) > 2. merge yourself your po with the latest POT on Damned Lies. > 3. if you have not yet worked on your po, you can pick the .po file > automatically merged by Damned Lies between the SVN po and the latest > POT. > > I doubt that we need any other method. > > > Claude > > > > 2007/8/15, Iestyn Pryce <[EMAIL PROTECTED]>: > > Ar Mer, 2007-08-15 am 16:42 +0800, ysgrifennodd 杨章: > > > hello, all > > >I used to start my translation from the po/pot files > > from > > > damned lies and everything is OK. But there has been > > problems since I > > > got my own svn account. It seems that the po files in SVN > > are not > > > automatically updated. For example. in gdm2-trunk (NOW), you > > can find > > > zh_CN.po with 970 items and zh_TW.po with only 781 items and > > en_GB.po > > > with 944 items. The POT-creation-date in their header varies > > greatly. > > > I wonder if there is a mechanism to automatically update all > > the po > > > files daily or after every string change or just after > > string > > > freezing. I do think that we need such a mechanism since > > it's really > > > terrible to manually download the pot file from damned lies > > and > > > msfmerge it and them "svn commit". I hope there is a way out > > (or there > > > is already a way ? please let me know, thanks ). > > > > > > Best wishes, > > > Yours, YangZhang > > > > I think one should use the intltool-update tool[1] for this. > > You run it > > in the po directory: > > > > intltool-update languagecode > > > > for instance: > > > > intltool-update zh_CN > > > > This updates .po file that language, so that you have all the > > new > > strings to translate (and old unneeded ones are removed). > > > > Regards; > > Iestyn Pryce > > > > [1] http://ftp.gnome.org/pub/gnome/sources/intltool/ > > > -- Yang Zhang ICMSEC,AMSS,Beijing,China ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: PO files are not updated automatically in SVN
Le mercredi 15 août 2007 à 19:21 +0800, 杨章 a écrit : > Thanks for your reply. But I have another problem with this. Usually, > I use "svn co svn+ssh://[EMAIL PROTECTED]/svn/software/trunk/po > software-trunk" to check out only the po files. And there is the > problem: intltool-update can not be run in this po directory directly. > I suggest we use some kind of script to automatically update the po > files, since check out the whole source tree is really time&space > consuming. There is already three possibilities for this: 1. using the method suggested by Iestyn (intltool-update) 2. merge yourself your po with the latest POT on Damned Lies. 3. if you have not yet worked on your po, you can pick the .po file automatically merged by Damned Lies between the SVN po and the latest POT. I doubt that we need any other method. > Claude > > 2007/8/15, Iestyn Pryce <[EMAIL PROTECTED]>: > Ar Mer, 2007-08-15 am 16:42 +0800, ysgrifennodd 杨章: > > hello, all > >I used to start my translation from the po/pot files > from > > damned lies and everything is OK. But there has been > problems since I > > got my own svn account. It seems that the po files in SVN > are not > > automatically updated. For example. in gdm2-trunk (NOW), you > can find > > zh_CN.po with 970 items and zh_TW.po with only 781 items and > en_GB.po > > with 944 items. The POT-creation-date in their header varies > greatly. > > I wonder if there is a mechanism to automatically update all > the po > > files daily or after every string change or just after > string > > freezing. I do think that we need such a mechanism since > it's really > > terrible to manually download the pot file from damned lies > and > > msfmerge it and them "svn commit". I hope there is a way out > (or there > > is already a way ? please let me know, thanks ). > > > > Best wishes, > > Yours, YangZhang > > I think one should use the intltool-update tool[1] for this. > You run it > in the po directory: > > intltool-update languagecode > > for instance: > > intltool-update zh_CN > > This updates .po file that language, so that you have all the > new > strings to translate (and old unneeded ones are removed). > > Regards; > Iestyn Pryce > > [1] http://ftp.gnome.org/pub/gnome/sources/intltool/ ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: PO files are not updated automatically in SVN
Thanks for your reply. But I have another problem with this. Usually, I use "svn co svn+ssh://[EMAIL PROTECTED]/svn/software/trunk/po software-trunk" to check out only the po files. And there is the problem: intltool-update can not be run in this po directory directly. I suggest we use some kind of script to automatically update the po files, since check out the whole source tree is really time&space consuming. 2007/8/15, Iestyn Pryce <[EMAIL PROTECTED]>: > > Ar Mer, 2007-08-15 am 16:42 +0800, ysgrifennodd 杨章: > > hello, all > >I used to start my translation from the po/pot files from > > damned lies and everything is OK. But there has been problems since I > > got my own svn account. It seems that the po files in SVN are not > > automatically updated. For example. in gdm2-trunk (NOW), you can find > > zh_CN.po with 970 items and zh_TW.po with only 781 items and en_GB.po > > with 944 items. The POT-creation-date in their header varies greatly. > > I wonder if there is a mechanism to automatically update all the po > > files daily or after every string change or just after string > > freezing. I do think that we need such a mechanism since it's really > > terrible to manually download the pot file from damned lies and > > msfmerge it and them "svn commit". I hope there is a way out (or there > > is already a way ? please let me know, thanks ). > > > > Best wishes, > > Yours, YangZhang > > I think one should use the intltool-update tool[1] for this. You run it > in the po directory: > > intltool-update languagecode > > for instance: > > intltool-update zh_CN > > This updates .po file that language, so that you have all the new > strings to translate (and old unneeded ones are removed). > > Regards; > Iestyn Pryce > > [1] http://ftp.gnome.org/pub/gnome/sources/intltool/ > > -- Yang Zhang ICMSEC,AMSS,Beijing,China ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: PO files are not updated automatically in SVN
Ar Mer, 2007-08-15 am 16:42 +0800, ysgrifennodd 杨章: > hello, all >I used to start my translation from the po/pot files from > damned lies and everything is OK. But there has been problems since I > got my own svn account. It seems that the po files in SVN are not > automatically updated. For example. in gdm2-trunk (NOW), you can find > zh_CN.po with 970 items and zh_TW.po with only 781 items and en_GB.po > with 944 items. The POT-creation-date in their header varies greatly. > I wonder if there is a mechanism to automatically update all the po > files daily or after every string change or just after string > freezing. I do think that we need such a mechanism since it's really > terrible to manually download the pot file from damned lies and > msfmerge it and them "svn commit". I hope there is a way out (or there > is already a way ? please let me know, thanks ). > > Best wishes, > Yours, YangZhang I think one should use the intltool-update tool[1] for this. You run it in the po directory: intltool-update languagecode for instance: intltool-update zh_CN This updates .po file that language, so that you have all the new strings to translate (and old unneeded ones are removed). Regards; Iestyn Pryce [1] http://ftp.gnome.org/pub/gnome/sources/intltool/ signature.asc Description: Mae hwn yn rhan neges wedi'i lofnodi'n ddigidol ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
PO files are not updated automatically in SVN
hello, all I used to start my translation from the po/pot files from damned lies and everything is OK. But there has been problems since I got my own svn account. It seems that the po files in SVN are not automatically updated. For example. in gdm2-trunk (NOW), you can find zh_CN.po with 970 items and zh_TW.po with only 781 items and en_GB.po with 944 items. The POT-creation-date in their header varies greatly. I wonder if there is a mechanism to automatically update all the po files daily or after every string change or just after string freezing. I do think that we need such a mechanism since it's really terrible to manually download the pot file from damned lies and msfmerge it and them "svn commit". I hope there is a way out (or there is already a way ? please let me know, thanks ). Best wishes, Yours, YangZhang -- Yang Zhang ICMSEC,AMSS,Beijing,China ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n