Drupal po file generator



GenPo 0.1 -  Drupal po file generator.

Note: this project has been moved to the web version

 

Maybe you want to translate a drupal module or template, but can't find the orignal po file.

Do you want  create a new po file?

Download the enclosed script in your linux/unix machine, feed him with the drupal code with 't(' sentences inside and start translate your new .po file

The script - even if is fully working -  is in the very early stage.

 

If you prefere to use the web interface, give a try to the drupal extractor

http://cvs.drupal.org/viewcvs/drupal/contributions/translations/drupal-pot/extractor.php?view=log

 

Your help  (user feedback or developer improvement ) is very welcome!

-------------------------------------------------------------------------------------------------------

 

 // $Id: README.txt,v 0.1 21 dec 2006
// augusto@fagioli.biz

CONTENTS OF THIS FILE
---------------------

 * WHAT IS THIS
 * REQUIREMENTS
 * INSTALLATION
 * USAGE

WHAT IS THIS
------------
This small script creates po file for drupal code you may want to internationalise.

REQUIREMENTS:
------------
- Linux/Unix box

INSTALLATION:
-------------
-Download the tarball from ?q=drupal-po-file-generator

-Simply untar the tarball in a writeble directory
example: command tar -zxvf drupal_generate_po_file___.tar.gz

-Give execution permissions to the script
example: chmod u+x GenPo-0.1.sh

-Give write  permissions to the subdirectories
example: chmod u+wx po/ tmp/

USAGE:
------
-go into the script directory
example: cd /home/user/scripts/drupal_generate_po_file/

-run the script providing the drupal file you want to translate
example:  ./GenPo.sh /tmp/somecode.module

-Go and get your new po file in the subdirectory po/

MORE INFORMATION
----------------
For more info or latest release, go to

 

 

 

 

 

AllegatoDimensione
GenPo-0.1.tar.gz11.2 KB

Comments

Invia nuovo commento

  • Linee e paragrafi vanno a capo automaticamente.
  • Web page addresses and e-mail addresses turn into links automatically.

Maggiori informazioni sulle opzioni di formattazione.

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 12 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.