asterisk2billing.org http://forum.asterisk2billing.org/ |
|
Tools needed to translate. http://forum.asterisk2billing.org/viewtopic.php?f=19&t=3053 |
Page 1 of 1 |
Author: | LupoSol [ Mon Jan 14, 2008 12:17 am ] |
Post subject: | Tools needed to translate. |
Hello, I have noticed some imperfections in the Italian translation. I have run a serah and I understand that the files to translate are the mo files in the locales. However, they look "encrypted" to me and unmodifiable. I know ho to use POIEdit, is the po file enough? What is the use of the mo file? Do I understand well that a mo file is a po file converted? If so, how does it get converted? I'd like to donate my work to the community afterwards. Thanks. |
Author: | xrg [ Mon Jan 14, 2008 1:05 am ] |
Post subject: | |
The .mo files, the binaries, are the result of compiling the .po files. So, you should better work on the original .po files [1] The reason behind the .mo files is speed: binaries are much faster to parse when running the application. Translation, as well as other parts of the development, is much easier on a Linux desktop. There, you could use 'kbabel' or sth similar that does all the work for you. You could also take a look at the info page of 'gettext', in the GNU documentation. It is rather lengthy (GNU's have that), but -trust me- there is good reason behind all this complexity. http://www.gnu.org/software/gettext/manual/gettext.html [1] You could reverse-compile the mo ones to get the po's. But that is not recommended. Added after 5 minutes: The KDE project also has a very good howto on translation: http://l10n.kde.org/docs/translation-howto/ .. since their technologies are similar to ours, most of that Howto applies to a2billing as well. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |