Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grobmeier/simplepo
Simple gettext (po) translation tool in php. Importing simple php script from non active google code project
https://github.com/grobmeier/simplepo
Last synced: about 2 months ago
JSON representation
Simple gettext (po) translation tool in php. Importing simple php script from non active google code project
- Host: GitHub
- URL: https://github.com/grobmeier/simplepo
- Owner: grobmeier
- Created: 2011-12-30T12:01:34.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-05T02:41:29.000Z (about 13 years ago)
- Last Synced: 2024-10-17T06:41:41.313Z (2 months ago)
- Language: PHP
- Homepage: http://code.google.com/p/simplepo/
- Size: 144 KB
- Stars: 1
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
--------------------------------------
SimplePO - A Web Based PO File Editor
--------------------------------------
Why SimplePO?
- We grew tired of emailing po files to translators, then having to explain
how to edit the files, and waiting until they returned the translation file.
We created Simple PO so we could just ask our translators to go to a web page
and start translating.What is needed to use SimplePO?
- SimplePO requires PHP, including the command line interface.
- Make sure the gettext family of tools is installed on the server.
- Also requires mysql database.How to get started?
- Create a copy of the file config-sample.php and save as config.php- Open config.php and add the database username, password, host, and database name
- Next, to install SimplePO, run the following on command line:
php simplepo.php --install
- or to force the installation that will overwrite all tables with conflicting
names use the force flag, --force, -f.- At this point you will need to import the PO file:
php simplepo.php -n "Catalogue_Name" -i "Input_Filename"Now if you point your web browser to the location where you installed SimplePO
you will see a list of all of the Catalogues.Translators will now have a simple web interface to use to add translations.
-To export all translations back to a PO file:
php simplepo.php -n "Catalogue_Name" -o "Output_Filename"