translate multi-language from English
Ray Lee dc453df6f1 move functions into private | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
input | %!s(int64=6) %!d(string=hai) anos | |
output | %!s(int64=6) %!d(string=hai) anos | |
template | %!s(int64=6) %!d(string=hai) anos | |
.dockerignore | %!s(int64=6) %!d(string=hai) anos | |
.gitignore | %!s(int64=6) %!d(string=hai) anos | |
Dockerfile | %!s(int64=6) %!d(string=hai) anos | |
main.rb | %!s(int64=6) %!d(string=hai) anos | |
readme.md | %!s(int64=6) %!d(string=hai) anos |
Handy tool to help multi-language Resources.resw build up. In case, you already have a completed English version.
gem install nokogiri
Run the script
ruby main.rb
output file would be ./output/fr.txt (and ./output/fr-not-found.txt if any not-found sentence)