Module: Translator::Support
- Included in:
- Base
- Defined in:
- lib/translator.rb
Constant Summary collapse
- LOCALES =
Mapping of the way Yahoo! Mail represents country codes with the way Google Translate does.
The key is the Yahoo! Mail representation, and the value is the code Google Translate would expect.
{ "de-DE" => "de", "en-MY" => "en", "en-SG" => "en", "es-MX" => "es", "it-IT" => "it", "vi-VN" => "vi", "zh-Hant-TW" => "zh-TW", "en-AA" => "en", "en-NZ" => "en", "en-US" => "en", "fr-FR" => "fr", "ko-KR" => "ko", "zh-Hans-CN" => "zh-CN", "en-AU" => "en", "en-PH" => "en", "es-ES" => "es", "id-ID" => "id", "pt-BR" => "PORTUGUESE", "zh-Hant-HK" => "zh-CN", }