Python command line tool for conversion between iOS Localizable.strings and excel file & Localizable.strings to android strings.xml file.
中文请下翻
1.Support convert multiple languages meanwhile.
1.Support Localizable.strings to android strings.xml file.
1.Fix bugs.
2.Add -h(help command) for python files.
3.Add -t(target file path )、-f(source file path) configuration for python files.
Add project.
###1.install pyexcelerator component
change to pyexcelerator-0.6.4.1 directory,run sudo python setup.py install
###2.install xld component
change to xlrd-1.0.0 directory,run sudo python setup.py install
###3.use python file python Localizable.py -f xxx/xxx -t xxx/xxx.xls :convert iOS Localizable.strings files to xls file
python LocalizableBack.py -f xxx/xxx.xls -t xxx/xxx :convert xls file to iOS Localizable.strings files & Android strings.xml files
python LocalizableToStringXml.py -f xxx/xxx.strings -t xxx/xxx.xml : convert Localizable.strings to strings.xml file
iOS本地化文件(Localizable.strings)与Excel互相转换 & Localizable.strings 转换成android的strings.xml文件的Python脚本工具
1.支持多种语言一起转换
1.支持Localizable.strings转换成android的strings.xml.
1.Fix bugs.
2.增加 -h(帮助命令)
3.增加 -t(目标文件地址)、-f(源文件地址)的命令参数
加入工程
###1.安装pyexcelerator组件
切换到pyexcelerator-0.6.4.1目录,执行sudo python setup.py install 安装
###2.安装xld组件
切换到xlrd-1.0.0目录,执行sudo python setup.py install 安装
###3.使用脚本
python Localizable.py -f xxx/xxx -t xxx/xxx.xls :将多个国家的iOS Localizable.strings文件一起转换成xls文件
python LocalizableBack.py -f xxx/xxx.xls -t xxx/xxx :将xls文件转换成多个国家Localizable.strings文件 & Android 多个国家的strings.xml文件
python LocalizableToStringXml.py -f xxx/xxx.strings -t xxx/xxx.xml : 将单个Localizable.strings转换成strings.xml文件