PoEdit usually breaks PO files headers... I'd recommend you to use another
translation tool instead of PoEdit.

Try opening this same file with Gtranslator, to see if it fixes headers
automagically. If I'm not wrong, ms language has no plural forms, so it
should be set to "nplurals=1; plural=0;"

Best regards

2014-09-17 17:42 GMT+02:00 Umarzuki Mochlis <[email protected]>:

> using poedit, I finally came to below error:
>
> $ msgfmt gnome-control-center.master.ms.po -c
> gnome-control-center.master.ms.po:4:50: syntax error
> msgfmt: gnome-control-center.master.ms.po: warning: PO file header
> missing or invalid
>                                            warning: charset conversion
> will not work
> msgfmt: found 2 fatal errors
>
> below is the first few lines of gnome-control-center.master.ms.po
>
> # Gnome-control-center v2.0 Bahasa Melayu (ms)
> # 1. Hasbullah Bin Pit (sebol) <[email protected]>, 2002
> # 2. Khairulanuar Abd Majid (khai) <[email protected]>, 2002
> "Project-Id-Version: gnome-control-center HEAD\n"
> "Report-Msgid-Bugs-To:
> http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-";
> "control-center&keywords=I18N+L10N&component=general\n"
> "POT-Creation-Date: 2014-09-16 06:32+0000\n"
> "PO-Revision-Date: 2014-09-17 23:16+0730\n"
> "Last-Translator: Umarzuki Bin Mochlis Moktar <[email protected]>\n"
> "Language-Team: GNOME Malaysia <[email protected]>\n"
> "Language: ms\n"
> "MIME-Version: 1.0\n"
> "Content-Type: text/plain; charset=UTF-8\n"
> "Content-Transfer-Encoding: 8bit\n"
> "X-Generator: Poedit 1.5.4\n
>
> I have no idea how to deal with this. I saw some suggested
> "Plural-Forms" but that did not solve it.
> _______________________________________________
> gnome-i18n mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-i18n
>
_______________________________________________
gnome-i18n mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to