Download the PHP package markocupic/contao-php2xliff without Composer
On this page you can find all versions of the php package markocupic/contao-php2xliff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download markocupic/contao-php2xliff
More information about markocupic/contao-php2xliff
Files in markocupic/contao-php2xliff
Package contao-php2xliff
Short Description Create XLIFF files from contao php language files
License GPL-3.0-or-later
Informations about the package contao-php2xliff
Generate "XLIFF translation files" from "PHP array translation files"
This little handy Contao backend extension simply converts contao php translation files into their xliff (.xlf) pendants. The newly generated files will be stored side by side to the already existing php files. Already existing .xlf files will be overwritten.
Changing the source language
The source language for all Contao Core XLIFF files is English (en).
If you like to change this setting you have to do this in your project config in config/config.yml
.
Transifex hints
Install
Navigate to your project root. Then run:
Navigate to newly created transifex-client directory and install transifex-client.
Initialize and config
Navigate to the repository root e.g. cd vendor/vendorname/bundlename
Init transifex tx init
. Transifex will create a basic config file in vendor/vendorname/bundlename/.tx
Edit the config file and add entries for each translation file.
Use markocupic/contao-php2xliff
to generate xliff translation files from Contao PHP array translation files.
Push
Upload/Update source files (force overriding): tx push -s -f
Upload/Update translations files (force overriding): tx push -t -f
Or upload/update both (force overriding): tx push -s -t -f
Pull
Pull source and translation files (force overriding): tx pull -s -f
Pull translation files only (force overriding): tx pull -t -f
All versions of contao-php2xliff with dependencies
contao/core-bundle Version ^4.12 || ^5.0
codefog/contao-haste Version ^5.0