Re: dealing with plural



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 <umarzuki gmail com>:
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) <sebol ikhlas com>, 2002
# 2. Khairulanuar Abd Majid (khai) <khairul ikhlas com>, 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 <umar umarzuki org>\n"
"Language-Team: GNOME Malaysia <gnome-ms googlegroups com>\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
gnome-i18n gnome org
https://mail.gnome.org/mailman/listinfo/gnome-i18n



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]