translate multi-language from English

Ray Lee dc453df6f1 move functions into private 6 yıl önce
input f0e9f65afd initial commit 6 yıl önce
output 4bfa84c77d make better output 6 yıl önce
template 4bfa84c77d make better output 6 yıl önce
.dockerignore 4bfa84c77d make better output 6 yıl önce
.gitignore 4bfa84c77d make better output 6 yıl önce
Dockerfile e557494357 set default LANG=UTF-8 6 yıl önce
main.rb dc453df6f1 move functions into private 6 yıl önce
readme.md 4bfa84c77d make better output 6 yıl önce

readme.md

Readme

Handy tool to help multi-language Resources.resw build up. In case, you already have a completed English version.

Before Use

gem install nokogiri

Usage

  1. Put your English translated file into ./template/Resources.resw
  2. Copy English sentences and another language(Franch, for example) sentences into ./input/fr.csv
  3. Notice that header of fr.csv should be template_value and trans_value
  4. Run the script

    ruby main.rb

  5. output file would be ./output/fr.txt (and ./output/fr-not-found.txt if any not-found sentence)