Posted by augusto on April 25, 2007 at 6:47pm
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/

Comments
joining forces?
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?
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
augusto fagioli
http://www.fagioli.biz/?q=sito-facile
potx project
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
hi i didn't find any proper document for potx.really confused about the way it works.