Skip to content

Instantly share code, notes, and snippets.



Created Sep 7, 2010
What would you like to do?
Translate into multiple languages
require "rubygems"
require "rsay"
[Language::ARABIC, Language::CHINESE, Language::CHINESE_SIMPLIFIED, Language::CHINESE_TRADITIONAL, Language::DUTCH, Language::FRENCH, Language::GERMAN, Language::GREEK, Language::ITALIAN, Language::JAPANESE, Language::KOREAN, Language::PORTUGUESE, Language::RUSSIAN, Language::SPANISH, Language::SWEDISH].each do |out|
puts Translate.t('words', Language::ENGLISH, out)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment