【文件属性】:
文件名称:ibtoolTranslation:使用ibtool的自动翻译脚本
文件大小:17KB
文件格式:ZIP
更新时间:2021-06-20 22:36:45
Ruby
工具翻译
这是可用于国际化故事板的脚本。
您可以编辑点击以下命令时生成的 Translation.strings。 再次输入相同的命令进行翻译。
安装
将此行添加到应用程序的 Gemfile 中:
gem 'ibtoolTranslation'
然后执行:
$ bundle
或者自己安装:
$ gem install ibtoolTranslation
用法
生成“Translation.strings”文件。
ibtoolTranslation create -d path/to/your_storyboard_directory/ -f < translate> -t < translate>
编辑“Translation.strings”文件。
"pre-text" = "post-text";
"Date" = "日時
【文件预览】:
ibtoolTranslation-master
----storyboards()
--------en.lproj()
--------dd.lproj()
--------fr.lproj()
----LICENSE.txt(1KB)
----lib()
--------ibtoolTranslation.rb(5KB)
--------ibtoolTranslation()
----Gemfile(168B)
----Guardfile(260B)
----spec()
--------ibtoolTranslation_spec.rb(4KB)
----Rakefile(28B)
----README.md(1KB)
----.gitignore(154B)
----bin()
--------ibtoolTranslation(2KB)
----ibtoolTranslation.gemspec(1KB)