Created
September 7, 2010 17:12
-
-
Save masnick/568688 to your computer and use it in GitHub Desktop.
Translate into multiple languages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment