Malformed Headers for Gettext upload

Jump to: navigation, search

Nike,

I'm trying to upload the final batch of Chinese translations for Mifos. They were translated offline using PoEdit. When I upload the file, I get the following error: File is not a well formed Gettext file in Translate extension format: Unable to determine group and language from file headers.

I believe Version 1.4.6 was used and not 1.4.2. Is that the issue? Can I manually edit the header and will it then upload properly? Any guidance is appreciated?

Thanks,

Ed

Edcable14:14, 29 November 2010

Try replacing the header with one from a fresh download, and check if the msgctxt tags were retained by your gettext editor.

Siebrand16:03, 29 November 2010

Thanks Siebrand,

I did just that and just manually pasted a header from a fresh download and that fixed the problem.

Ed

Edcable18:23, 29 November 2010

Our header (using "X" tags) is compliant to the gettext standards. If you see your editor damage the header, please report that as a bug to the supplier of your editor.

Siebrand19:34, 29 November 2010
 

Gah, that overwrote most of my recent fixes. See for example [1]. Not committing updates until those are re-fixed.

Diff: [2] (Set encoding to UTF-8 manually if needed).

Nike21:23, 29 November 2010

Nike sorry for conflict in edits. I've removed the arrows from the messages. Should be good to commit now.

Edcable21:53, 29 November 2010

Looks fine, committed.

Nike07:56, 30 November 2010
 
 
 
 
 
Personal tools

Variants
Actions
Translators
Navigation
Toolbox
Google AdSense