extDB and Gettext

I've received a lot of questions from module authors about how to get their translations onto the translation portal and how to create language packs. I'd like to take a little time to explain the systems that are now in place.


Firstly there are three things: extDB, the i18n Cozi project and the translation portal. Once your component is complete you should extract the translatable strings using the Gettext Module at the community site. Now you can upload your module or theme to extDB. Once the module is approved, it will send the translation POT file to the Cozi project. From there the translation portal will see a new project has been submitted for translation and it will generate a PO file for translation automatically in every language project.

The Cozi i18n (svn) project and the portal communicate automatically, syncronise and merge data automatically twice a day.

Creating language packs is now also a mostly automated process. An administrator will visit extDB and instruct it to build the language pack for a given component. extDB will then get the correct PO file, compile it to MO and arrange all the necessary files and directory structure. The language pack will immediately become available to the system at this point.


Share This | Print

Trackbacks

(The URL to TrackBack this entry is: http://blog.zikula.org/index.php?module=TrackBack&id=26,1-56). If your blog does not support Trackbacks you can manually add your trackback by using this form.

Comments

Comment by:
Carsten Volmer's Avatar
Carsten Volmer
30 Oct 2009 - 07:33AM
How to ship a language pack?
We are always talking about the gettext files (*.mo/*.po). But the German language pack contains more than the /locale directory. (see http://code.zikula.org/community-german/browser/development/Sprachpaket-Zikula-1/)

The new features for the extDB are great. But for some modules and for the core, we have to serve the language packs on the old way:
CoZi-downloads: http://code.zikula.org/community-german/downloads
 
Comment by:
Craig's Avatar
Craig
30 Oct 2009 - 04:58PM
check status?
"An administrator will visit extDB and instruct it to build the language pack for a given component."

so, how can one check on the status of this? Once a translation is market as complete, someone has to check a box somewhere? can the translator for that language and component take care of that?
 

Add a new Comment









 
Close

You don't have permission to e-mail this story - please login