CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Howto work with pootle
Pages: [1]

Author Topic: Howto work with pootle  (Read 4926 times)

sawjer

  • Guest
Howto work with pootle
November 24, 2008, 06:56:08 pm
I have no problem translating the files of civicrm 2.1 that are already loaded on pootle.

My queation is: How do I get the translated file back to sourceforge for downloading an dhow do I update files in pootle.

Is it done automatically or is there any manual intervention needed?

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Howto work with pootle
November 25, 2008, 12:28:11 am
Quote from: sawjer on November 24, 2008, 06:56:08 pm
My queation is: How do I get the translated file back to sourceforge for downloading an dhow do I update files in pootle.

Is it done automatically or is there any manual intervention needed?

I commit all of the new translations into our code repository on a weekly basis. You can download the German MO file for CiviCRM 2.1 at http://svn.civicrm.org/civicrm/branches/v2.1/l10n/de_DE/LC_MESSAGES/

We take a snapshot of all of the translations and upload it to SourceForge every time we do a release.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

sawjer

  • Guest
Re: Howto work with pootle
November 25, 2008, 09:56:13 am
Thank you for the information

I still miss some information: I can download the actual translation files with suffix .po . How do I convert them to the one file for civicrm with suffix .mo?

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Howto work with pootle
November 26, 2008, 01:51:57 am
Quote from: sawjer on November 25, 2008, 09:56:13 am
I can download the actual translation files with suffix .po . How do I convert them to the one file for civicrm with suffix .mo?

It depends on the system you use. On Linux systems (and maybe Windows also), if you have the gettext program, you can do this by running

Code: [Select]
msgcat -o civicrm.po *.po
msgfmt -o civicrm.mo civicrm.po

(As stated above, we do that on a weekly basis, so if running msgcat/msgfmt is a hassle for you, you can just wait until next Monday and download the fresh .mo file from the above URL.)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

sawjer

  • Guest
Re: Howto work with pootle
November 27, 2008, 06:20:00 am
Thank you for this info.

Normally I can wait for next update you do, but at the moment I have to quickly update the messages that still are in English. There I am glad for doing the update directly.

Sawjer

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Howto work with pootle
November 27, 2008, 08:40:23 am
Ok. :) Thanks a lot for your work! For what it’s worth, I recompiled the MO files and committed the updates from our translation server to our repository.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

sawjer

  • Guest
Re: Howto work with pootle
November 27, 2008, 06:45:05 pm
Quote from: Piotr Szotkowski on November 27, 2008, 08:40:23 am
Ok. :) Thanks a lot for your work! For what it’s worth, I recompiled the MO files and committed the updates from our translation server to our repository.

Great, thanks for your help

Sawjer

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Howto work with pootle

This forum was archived on 2017-11-26.