bug-gnu-utils
[Top][All Lists]
Advanced

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

Gettext MO format version numbers


From: Dwayne Bailey
Subject: Gettext MO format version numbers
Date: Sat, 14 Feb 2009 14:23:40 +0200

Hi,

We are able to parse and produce .mo files using the Translate Toolkit.
This works flawlessly but I have noticed the following issues and hoped
that I could get some clarity on the versioning of the format.

1) The Gettext documentation states that we are at version 0 of the
format.  Yet I have observed some files with a version number of 1, in
the wild.  I was able to parse them correctly by simply ignoring the
version information.  Is there such a version?

2) .mo files for certain RTL languages have different version number.
msgfmt and msgunfmt are able to read these files but when opened in a
hex editor the first few bytes are as follows:

DE12 0495 0100 0100

I took the installed .mo file msgunfmt then msgfmt and I get the same
version information.  I was hoping that you could provide some clarity
on this issue.

Simply ignoring the version information allowed me to read these files
correctly.  But I would like to know the cause so that we can continue
to produce correct .mo files.


-- 
Dwayne Bailey
Associate                                      +27 12 460 1095 (w)
Translate.org.za                               +27 83 443 7114 (c)

Recent blog posts:
* Fixes for Skype Video, Webcam on Fedora
http://www.translate.org.za/blogs/dwayne/en/content/fixes-skype-video-webcam-fedora
* libtranslate, TM plugins and Virtaal
* Localisation Information Language - preventing mistakes and increasing the 
richness of localisation

Stop Digital Apartheid! - http://www.digitalapartheid.com
Firefox web browser in Afrikaans - http://af.www.mozilla.com/af/
African Network for Localisation (ANLoc) - http://africanlocalisation.net/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]