This is only a read-only copy of the old bug tracker. See the support page.

Ticket #298 (closed defect: invalid)

Opened 5 years ago

Last modified 4 years ago

MSGFMT: found 2 fatals errors

Reported by: ymne@… Owned by:
Priority: high Milestone:
Component: Version: 1.4.2
Keywords: Cc:
Platform: windows

Description

Hi!

We use PoEdit? for the translation of the framework Concrete5, from the english to french. The admin of our team do the first translation on Mac OS and after he give us the .po and .mo files. But when I tried to save the file, I always got a message with 2 fatal errors.

I have attached with this message the 3 files: .po/.mo/log-english.txt

We tried to correct so many times the problem but it is still recurrent.

Can you enlight us about this matter?

Thanks in advance.

Attachments

5.3.0.zip Download (121.9 KB) - added by ymne@… 5 years ago.
Zip file

Change History

Changed 5 years ago by ymne@…

Zip file

Changed 5 years ago by Vaclav Slavik

  • status changed from new to closed
  • resolution set to invalid

As the error message clearly says, you have invalid plurals header. And indeed, nplurals=INTEGER; plural=EXPRESSION is nowhere near what should be there. Refer to Gettext documentation for description of the header and what should it be.

The message you get from msgfmt is justified, there's no bug in Poedit. Closing as invalid.

BTW, this is a bug tracker -- a place for reporting bugs, not for asking help with understanding Gettext basics.

Note: See TracTickets for help on using tickets.