mirror of
https://github.com/ysoftdevs/fastlane2xliff.git
synced 2026-03-20 08:14:48 +01:00
37 lines
1009 B
Markdown
37 lines
1009 B
Markdown
# fastlane to XLIFF converter
|
|
|
|
Simple Python tool which can convert fastlane version of resources stored in files into XLIFF and vice versa.
|
|
This version of tool was tested with Python 2.7 and Trados.
|
|
|
|
You can find more information about fastlane at: https://fastlane.tools/
|
|
|
|
## Usage
|
|
|
|
### Conversion from fastlane to XLIFF
|
|
|
|
`python bin/fastlane2xliff.py <soure-directory> <target-xliff-file> <language-code>`
|
|
|
|
Sample:
|
|
|
|
`python bin/fastlane2xliff.py sample/src sample/result/cs-CZ/tram.xlf "cs-CZ"`
|
|
|
|
`python bin/fastlane2xliff.py sample/src sample/result/sk-SK/tram.xlf "sk-SK"`
|
|
|
|
### Conversion from XLIFF to fastlane
|
|
|
|
python bin/xliff2fastlane.py <source-xliff-file> <target-directory>
|
|
|
|
Sample:
|
|
|
|
python bin/xliff2fastlane.py sample/result/cs-CZ/tram.xlf sample/src
|
|
|
|
python bin/xliff2fastlane.py sample/result/sk-SK/tram.xlf sample/src
|
|
|
|
## Further information
|
|
|
|
You can find more information about development in Y Soft RnD at http://www.ysofters.com
|
|
|
|
## Author
|
|
|
|
Juraj Michalek - https://github.com/georgik
|