Skip to content

Commit

Permalink
Prepare for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CatchZeng committed Jan 4, 2017
1 parent afb7582 commit 42a5778
Show file tree
Hide file tree
Showing 36 changed files with 654 additions and 408 deletions.
229 changes: 188 additions & 41 deletions .idea/workspace.xml

Large diffs are not rendered by default.

95 changes: 0 additions & 95 deletions Localizable.py

This file was deleted.

104 changes: 0 additions & 104 deletions LocalizableBack.py

This file was deleted.

108 changes: 0 additions & 108 deletions LocalizableToStringXml.py

This file was deleted.

33 changes: 26 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Python command line tool for conversion between iOS Localizable.strings and exce

## ChangeLog

#### V0.4.0

1.Support convert multiple languages meanwhile.

#### V0.3.0

1.Support Localizable.strings to android strings.xml file.
Expand All @@ -37,10 +41,15 @@ change to pyexcelerator-0.6.4.1 directory,run ``` sudo python setup.py install `

![install pyexcelerator](https://github.com/CatchZeng/Localizable.strings2Excel/blob/master/imgs/installpy.jpg)

###2.use python file
python Localizable.py -f xxx/xxx.strings -t xxx/xxx.xls :convert Localizable.strings to xls file
###2.install xld component

change to xlrd-1.0.0 directory,run ``` sudo python setup.py install ```

python LocalizableBack.py -f xxx/xxx.xls -t xxx/xxx.strings :convert xls file to Localizable.strings file

###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

Expand All @@ -57,6 +66,10 @@ iOS本地化文件(Localizable.strings)与Excel互相转换 & Localizable.st

## ChangeLog

#### V0.4.0

1.支持多种语言一起转换

#### V0.3.0

1.支持Localizable.strings转换成android的strings.xml.
Expand All @@ -81,9 +94,15 @@ iOS本地化文件(Localizable.strings)与Excel互相转换 & Localizable.st

![安装pyexcelerator](https://github.com/CatchZeng/Localizable.strings2Excel/blob/master/imgs/installpy.jpg)

###2.使用脚本
python Localizable.py -f xxx/xxx.strings -t xxx/xxx.xls :把Localizable.strings转换成xls文件

python LocalizableBack.py -f xxx/xxx.xls -t xxx/xxx.strings :把xls文件转换成Localizable.strings文件
###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文件
python LocalizableToStringXml.py -f xxx/xxx.strings -t xxx/xxx.xml : 将单个Localizable.strings转换成strings.xml文件
8 changes: 8 additions & 0 deletions android/values-es/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ble_device_found">Dispositivo encontrado. Por favor, acérquese</string>
<string name="ble_is_not_turned_on">El Bluetooth no esta activado</string>
<string name="ble_connecting">Conectando…</string>
<string name="ble_connection_failed">Conexión fallida</string>
<string name="ble_connect_success">Conectado</string>
</resources>
8 changes: 8 additions & 0 deletions android/values-fr/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ble_device_found">Dispositif trouvé. S\'il vous plaît se rapprocher</string>
<string name="ble_is_not_turned_on">Bluetooth est pas activée</string>
<string name="ble_connecting">De liaison...</string>
<string name="ble_connection_failed">La connexion a échoué.</string>
<string name="ble_connect_success">Connecté</string>
</resources>
Loading

0 comments on commit 42a5778

Please sign in to comment.