[Compcomm] l10n
CyberOrg
jigish.gohil at gmail.com
Sat Jun 23 00:12:37 EDT 2007
Hi all
Here is a document that I had posted on obby.opencompositing.org,
would like developers to have a look at it and suggest how we can take
this thing forward.
Thanks
-J
--
cyberorg
________ Obby : obby.opencompositing.org pw: octeam ____________
Compiz Fusion has reached a stage that we should start thinking about
internationalizing the tools users are going to use to set everything
up for them.
After discussing a bit with onestone and maniac this is what I can suggest.
Update: I discussed this quinn_storm also, but we haven't come up with practical
procedure we can implement, if anyone knows how to do these kind of things or
know anyone who does, please get in touch with us. We need to sort this out as
soon as possible if we are aiming for first release in a month's time for
translators to work on it and get the translations in.
Following is one way we have to manage only one translation database for
individual plugin or plugins groups (-main, -extra etc).
Create pluginxyz.xml.in for each plugin with gettext macro _ marked strings
Create /l10n/po folder on git
Add POTFILES.in with all the .xml.in there as below
------POTFILE.in----
.../metadata/addhelper/addhelper.xml.in
.../metadata/animation/animation.xml.in
link/copy all *.xml.in from the plugin repos to l10n/metadata
running intltool-update -p will give compiz.pot which can be used by translators
for translation.
All the translated .po files will have translated strings for all plugins.
Link/copy .po into any sub-project that needs those strings e.g.,
plugins-main/po/in_IN.po
plugins-extra/po/in_IN.po (copy/link from l10n/po/)
Use same autotool infrastructure as compiz to generate .xml from .xml.in
LC_ALL=C ../intltool-merge -x -u -c ../po/.intltool-merge-cache
pluginxyz.xml.in pluginxyz.xml
I have been and would be very busy throughout the year, so cannot take
full responsibility for implementation and maintanence of this on my
own this time around.
We can use launchpad as onestone suggested, can we set that up on our servers?
I have extremely limited programming knowledge, so if anyone has
better suggestions, please do share.
More information about the CompComm
mailing list