[OLPC library] I18n Library Bundle Format
Benj. Mako Hill
mako at atdot.cc
Thu Mar 6 11:48:02 EST 2008
I've just pushed code into git that supports indexing internationalized
bundles. Internationalizing a bundle involves adding additional content
bundle metadata to the existing library.info file.
Any bundles that have not been localized will be displayed, regardless
of locale. In other words, if you are running in a Spanish locale and an
installed bundle includes Spanish localization, this will be shown. If
the bundles does not, it will be shown in whatever the default language
is (normally English). This allows people to install bundles in other
languages than their core language and still have them displayed.
We need to go through and add a localization section for each
multi-lingual content bundle in library-core -- as well as actually
localizing those bundles.
SJ is working on adding the core bundle content to Pootle. For the core
bundles, it looks like we'll distribute bilingual bundles at the moment
and will split them out later.
I've attached a sample new library.info file from Biology. It should be
pretty pretty straight forward. The rest is all in git if others want
to help. (PLEASE!)
Regards,
Mako
--
Benjamin Mako Hill
mako at atdot.cc
http://mako.cc/
Creativity can be a social contribution, but only in so far
as society is free to use the results. --GNU Manifesto
-------------- next part --------------
[Library]
name = biology
long_name = biology
global_name = org.laptop.biology
category = science
icon = library-biology.jpg
locale = en
activity = Browse
activity_start = index.html
[es]
name = biolog?a
long_name = biolog?a
activity_start = index.es.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.laptop.org/pipermail/library/attachments/20080306/c11eaaa2/attachment.pgp
More information about the Library
mailing list