Drupal PO File WEB generator

augusto's picture

Maybe you want to translate a drupal module or template, but can't find the original po file?
Do you want to create a new po file?
Simply use ther form at the page http://www.fagioli.biz/?q=drupal-po-file-web-generator to generate a new empy po file.

The script - even if is fully working - is in his very early stage.
Your help (user feedback or developer improvement ) is very welcome!

Sponsored by: <a href='http://roma.cercachetrovi.it/' target="_blank" title='Travel Services in Rome">http://roma.cercachetrovi.it/

Groups:
Login to post comments

joining forces?

Gábor Hojtsy's picture
Gábor Hojtsy - Wed, 2007-04-25 22:09

Interesting development. Maybe you have not seen this announcement: http://groups.drupal.org/node/3546 We are actively looking into people helping out improving potx module (which can easily generate a POT file out of any module installed on your own site), without any shell access, or running shell commands itself.


How can I help you?

augusto's picture
augusto - Sat, 2007-05-19 18:50

Hi Gabor,

thank for your interest in the http://www.fagioli.biz/?q=drupal-po-file-web-generator

Any idea how can I help you?

augusto fagioli
http://www.fagioli.biz/?q=sito-facile<a/>


potx project

Gábor Hojtsy's picture
Gábor Hojtsy - Sat, 2007-05-19 22:14

I looked through your shell script (http://www.fagioli.biz/?q=system/files&file=GenPo-0.1.tar.gz), which is behind the web interface, and it is interesting... You might have noticed that there are several other types of strings that should be extracted for translation, like $t() wrapped strings or the first parameter to watchdog, or the module name, and even more special cases are coming up in Drupal 6. Your shell script does not address these. My question is why would you duplicate the effort, while a nicely working extractor script already works? It works nicely on the command line and now it has a Drupal interface counterpart, the potx module. But you can develop custom interfaces on top of it, because it was built with that in mind. So you could redo the "PO file web generator" with reusing the existing PHP work people have done.

What were the problems with the existing tools, which prompted you to start with a different codebase? Are you interested in joining efforts?

http://drupal.org/project/potx


no proper document for potx

sankalpkarn - Fri, 2009-09-11 08:23

hi i didn't find any proper document for potx.really confused about the way it works.