cli tool to generate translation files for joomla
Project description
[](https://pypi.python.org/pypi?name=jootranslate&:action=display) [](https://travis-ci.org/pfitzer/jtranslate) [](https://pyup.io/account/repos/github/pfitzer/jtranslate/) 
[](https://pypi.python.org/pypi?name=jootranslate&:action=display)
## jootranslate
Searches for JText::_ translations in php files and generates the ini files. If the file exist only new translation strings will
be added.
This is just a little helper so you don`t have to copy and paste all your translation strings by hand.
Your component needs the following directory structure
administrator
- components
- com_COMPONENTNAME
- controllers
- language
- etc ...
components
- com_COMPONENTNAME
- controllers
- language
- etc...
**installation**
use pip
pip install jootranslate
local
python setup.py install
**usage**
jootranslate --source /path/to/component/root --com your_component
to see a full list of all options
jootranslate -h
**todo**
Parse the xml files for translations and generate the *.sys.ini files
[](https://pypi.python.org/pypi?name=jootranslate&:action=display)
## jootranslate
Searches for JText::_ translations in php files and generates the ini files. If the file exist only new translation strings will
be added.
This is just a little helper so you don`t have to copy and paste all your translation strings by hand.
Your component needs the following directory structure
administrator
- components
- com_COMPONENTNAME
- controllers
- language
- etc ...
components
- com_COMPONENTNAME
- controllers
- language
- etc...
**installation**
use pip
pip install jootranslate
local
python setup.py install
**usage**
jootranslate --source /path/to/component/root --com your_component
to see a full list of all options
jootranslate -h
**todo**
Parse the xml files for translations and generate the *.sys.ini files
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jootranslate-0.6.1.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for jootranslate-0.6.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4411e91529a269a06be9cf940aeabf185c487686a549d55fdcfda69912c92e4d |
|
MD5 | e4e7358e3713436bde5a889de1b0f354 |
|
BLAKE2-256 | 5a1d6bf1f44149679e46e4cda7431e24d3a7694c0734a112c6c3aea76d514cbd |