On Thu, Apr 19, 2012 at 12:45 AM, Ask Hjorth Larsen <asklar...@gmail.com> wrote: > Hi > > > On Thu, 19 Apr 2012, Jiro Matsuzawa wrote: > >> Hi all, >> >> As Chusslove says, version control of PO is more difficult than that >> of normal source files. >> But there are tips on how to manage PO on VCS. >> 1. --no-wrap >> 2. --no-location >> >> The above points are msgmerge's options. Msgmerge with --no-wrap does >> not wrap texts. That gets rid of noise from rewraps. >> And --no-location is also useful. That removes location information >> which causes conflicts. >> >> Please refer to the following PO diff. >> >> http://git.gnome.org/browse/gnome-user-docs/commit/gnome-help/ja/ja.po?id=dc7c0d447e510dd25d15b73cc7462bf79f623d69 >> >> The PO file was msgmerged with --no-wrap and --no-location. Commits of >> the po indicate no inessential and noisy diff which makes version >> control of PO difficult. >> In a word, it's important to remove information and format >> automatically generated. >> >> Thanks, > > > If the source file information is removed, then it is difficult to find the > strings in the source. That makes it difficult to translate complicated > strings where more context is needed. This is only something I personally > do when I really have to, but it's important to keep the source file > information for this reason. > If you have a source tree, you can extract location info at any time with msgmerge. So, no-location is not a problem.
-- Jiro Matsuzawa E-mail: jmatsuz...@gnome.org jmatsuz...@src.gnome.org matsuzawa...@gmail.com GPG Key ID: 0xECC442E9 GPG Key Fingerprint: E086 C14A 869F BB0E 3541 19EB E370 B08B ECC4 42E9 _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n