Skip to content

Instantly share code, notes, and snippets.

@masnick

masnick/gist:568688

Created Sep 7, 2010
Embed
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)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment