Is it possible to translate other open source projects with this module? If so, how to add projects and start translating?

Comments

gábor hojtsy’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Component: Performance » Import
Category: support » feature
Status: Active » Fixed
StatusFileSize
new27.35 KB

I've been working on exactly this in the past few weeks. I intended to clean this one up and test more, but I've already got two requests to include this in this past two weeks, so I decided to share and commit. Grab the latest development version and apply this patch or wait a day for this change to be in the tarball. With this new addition, you can just use the l10n_gettext connector, add a project, add a release and upload a .po(t) file with it. Then you can use the UI to translate the strings from the .po(t) file and export in a .po file. The gettext .po(t) format is a wide-known standard.

toemaz’s picture

Very interesting patch!

Once I have found the time again, I will try this patch and see how I can fit in uploading ts files. Currently on translate.musescore.org, I'm converting the ts file to a drupal module which then gets parsed by the l10n_server. I know the better way was to create a connector, but it was done in 20 lines (using querypath) so I've chosen for the fastest way.

gábor hojtsy’s picture

See http://hojtsy.hu/blog/2010-may-05/using-drupal-collaborative-software-tr... for an extensive documentation of how this works. @toemaz: no need to patch, you can try to set up a new site with that and play around with it.

gábor hojtsy’s picture

StatusFileSize
new4.48 KB

Ouch, forgot to add l10n_gettext to CVS. My bad. Here is the module. Now added to CVS.

gábor hojtsy’s picture

I've made a 6.x-2.x-beta2 release with these changes included, and it will soon show up at http://drupal.org/node/790570

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

vimalramaka’s picture

Awesome! Awesome!! Thanks.