[opensuse-factory] About patching .po and .gmo files
Hi. I've updated the Spanish translation for Obconf. I've submitted the file upstream but in the meantime I want to add it to the package in the repos. If I only include the es.po patch (because es.gmo is a binary file) the updated translation isn't applied. I think that OBS copies the .gmp files directly. How do I manage this? Do I have to upload the .gmo file and copy it in the install phase of the spec file? Greetings. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 07 Jan 2015 20:51:56 +0100 jcsl wrote:
I've updated the Spanish translation for Obconf. I've submitted the file upstream but in the meantime I want to add it to the package in the repos. If I only include the es.po patch (because es.gmo is a binary file) the updated translation isn't applied. I think that OBS copies the .gmp files directly. How do I manage this? Do I have to upload the .gmo file and copy it in the install phase of the spec file?
Please, ask the question in opensuse-packaging@ mailing list. This isn't related to opensuse-factory@. -- WBR Kyrill
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-01-07 20:51, jcsl wrote:
Hi.
I've updated the Spanish translation for Obconf. I've submitted the file upstream but in the meantime I want to add it to the package in the repos. If I only include the es.po patch (because es.gmo is a binary file) the updated translation isn't applied. I think that OBS copies the .gmp files directly. How do I manage this? Do I have to upload the .gmo file and copy it in the install phase of the spec file?
I know nothing about packaging, but I know how to make those files when I compile locally. Somehow you should get the patch applied to the po, and then probably run something like make po or mo or nearby. There should be an specific make target that creates the binary translation file when the po is changed. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlSt2TUACgkQtTMYHG2NR9WkrgCfWEAStcLOKunB0hmgQ7Z6RgaQ xNIAoIjITLKrIrExMT/XFOI8s4KbtDkS =fJpS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
jcsl
-
Kyrill Detinov