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) »
  • Compiling *.po to .mo fails
Pages: [1]

Author Topic: Compiling *.po to .mo fails  (Read 3246 times)

laborg

  • Guest
Compiling *.po to .mo fails
February 27, 2008, 07:45:49 am
Hi!

I downloaded the German LC_MESSAGES-Zip folder from http://translations.civicrm.org/de_DE/civicrm20/ an wanted to compile it like I did it the last two days with
Code: [Select]
msgcat *.po | msgfmt -vo civicrm.mo - but there seems to be a problem:

Code: [Select]
civicrm-core.po:15096: duplicate message definition...
civicrm-core.po:8987: ...this is the location of the first definition
msgcat: found 1 fatal error
0 translated messages.

First occurrence:
Code: [Select]
8985: #: templates/CRM/Activity/Form/ActivityView.tpl
8986: msgid "Added By "
8987: msgstr "Hinzugefügt von "

Second occurrence:
Code: [Select]
15095:#, fuzzy
15096:#~ msgid "Added By "
15097:#~ msgstr "Hinzugefügt (von %1)"

I can imagine theres a simple solution to this problem...

thx
Gerhard (who is eager to translate!)

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Compiling *.po to .mo fails
February 28, 2008, 12:57:56 am
Apologies – you must’ve hit a moment in our yesterday’s works when the PO files were in a fuzzy state.

Basically, you can simply delete the second occurrence, but the files are ok now.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Compiling *.po to .mo fails

This forum was archived on 2017-11-26.