GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shiweibsw/Translation-Tools: Android strings.xml 文本翻译工具

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
__pycache__
__pycache__
 
 
exe
exe
 
 
venv
venv
 
 
README.md
README.md
 
 
strings.xls
strings.xls
 
 
strings.xml
strings.xml
 
 
xlstoplist.py
xlstoplist.py
 
 
xlstoxml.py
xlstoxml.py
 
 
xmltoxls.py
xmltoxls.py
 
 

Repository files navigation

Translation-Tools

Android strings.xml 多语言文本翻译导入工具,解决多语种项目翻译逐条导入问题。

使用方式

1 XML转XLS

把待翻译的strings.xml文件放在xml转xls.exe同级目录下 双击执行xml转xls.exe 输入你要转换的语种 ,比如 英文 日文 韩文(使用空格分割)回车,会在当前目录下生成一个strings.xls文件 打开格式如下 这个文档就可以提供给翻译公司或者我们自己完成对应语种下的翻译了。

2 XLS转XML

现在假如我们已经拿到了翻译好文档,就像这样

现在我们把这个文档放在xls转xml.exe的同级目录下

注意:文档名为strings.xls不能修改

双击执行xls转xml.exe,执行完毕后你会发现目录下成了以下四个文件

这些文件就是我们要放置到各个语种文件夹下的xml文件(中文的可以忽略)

任务完成!

3 XLS转PLIST

Windows平台

同步骤2

Mac平台

strings.xls文件(名称不能改)放在xlstoplist.py同级目录下,打开python运行环境执行xlstoplist.py即可

注意事项

不要修改strings.xml及strings.xls文件名

windows平台下py脚本打包exe文件命令 pyinstaller -F -p F:\PythonWorkSpace\Translation-Tools\venv\Lib\site-packages xlstoplist.py

About

Android strings.xml 文本翻译工具

Resources

Readme
Activity

Stars

210 stars

Watchers

3 watching

Forks

53 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.