Skip to main content

cli tool to generate translation files for joomla

Project description

image0 image2 image3 PyPI - Python Version

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

admin
    - controllers
    - language
    - etc ...
site
    - 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.7.3.tar.gz (6.1 kB view hashes)

Uploaded source

Built Distribution

jootranslate-0.7.3-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page