Python command line tool for conversion between iOS Localizable.strings and excel file & Localizable.strings to android strings.xml file.
change to pyexcelerator-0.6.4.1 directory,run sudo python setup.py install
change to xlrd-1.0.0 directory,run sudo python setup.py install
python Localizable.py -f xxx/xxx -t xxx/xxx.xls
$ python Localizable.py -h
Usage: Localizable.py [options]
Options:
-h, --help show this help message and exit
-f filesDirectory, --filesDirectory=filesDirectory
Localizable.strings files directory.
-t targetFilePath, --targetFilePath=targetFilePath
Target File (xls) Path.
python LocalizableStringsXml.py -f xxx/xxx -t xxx/xxx.xls
python LocalizableStringsXml.py -h
Usage: LocalizableStringsXml.py [options]
Options:
-h, --help show this help message and exit
-f filesDirectory, --filesDirectory=filesDirectory
StringsXml files directory.
-t targetFilePath, --targetFilePath=targetFilePath
Target File (xls) Path.
python LocalizableBack.py -f xxx/xxx.xls -t xxx/xxx
$ python LocalizableBack.py -h
Usage: LocalizableBack.py [options]
Options:
-h, --help show this help message and exit
-f filePath, --filePath=filePath
original.xls File Path.
-t targetFloderPath, --targetFloderPath=targetFloderPath
Target Floder Path.
-i iOSAdditional, --iOSAdditional=iOSAdditional
iOS additional info.
-a androidAdditional, --androidAdditional=androidAdditional
android additional info.
python LocalizableToStringXml.py -f xxx/xxx.strings -t xxx/xxx.xml
python LocalizableToStringXml.py -h
Usage: LocalizableToStringXml.py [options]
Options:
-h, --help show this help message and exit
-f filePath, --filePath=filePath
Localizable.strings File Path.
-t targetFilePath, --targetFilePath=targetFilePath
Target File (strings.xml) Path.
-a androidAdditional, --androidAdditional=androidAdditional
android additional info.
python Strings2Xls.py -f xxx/xxx/ -t xxx/
$ python Strings2Xls.py -h
Usage: Strings2Xls.py [options]
Options:
-h, --help show this help message and exit
-f filesDirectory, --filesDirectory=filesDirectory
Localizable.strings files directory.
-t targetFilePath, --targetFilePath=targetFilePath
Target File (xls) Path.
python Xls2Strings.py -f xxx/xxx -t xxx/
$ python Xls2Strings.py -h
Usage: Xls2Strings.py [options]
Options:
-h, --help show this help message and exit
-f filePath, --filePath=filePath
original.xls File Path.
-t targetFloderPath, --targetFloderPath=targetFloderPath
Target Floder Path.
-i iOSAdditional, --iOSAdditional=iOSAdditional
iOS additional info.
-a androidAdditional, --androidAdditional=androidAdditional
android additional info.
python StringsAll2Xls.py -f xxx/xxx/ -t xxx/
$ python StringsAll2Xls.py -h
Usage: StringsAll2Xls.py [options]
Options:
-h, --help show this help message and exit
-f filesDirectory, --filesDirectory=filesDirectory
Project files (strings) directory.
-t targetDirectory, --targetDirectory=targetDirectory
Target files (xls) directory.
python XlsMatch2Strings.py -f xxx/ -t xxx/xxx/
$ python XlsMatch2Strings.py -h
Usage: XlsMatch2Strings.py [options]
Options:
-h, --help show this help message and exit
-f filePath, --filePath=filePath
original.xls File Path.
-t targetFloderPath, --targetFloderPath=targetFloderPath
Target Floder Path.