Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Haitian Creole support.

  • Loading branch information...
commit e43035c7ef0f94d4c66f092b6b34d0f2bd74c306 1 parent 2bf0f82
@mysmallidea mysmallidea authored
Showing with 4 additions and 2 deletions.
  1. +1 −0  README.rdoc
  2. +3 −2 lib/babelphish/languages.rb
View
1  README.rdoc
@@ -85,6 +85,7 @@ GERMAN = 'de'
GREEK = 'el'
GUARANI = 'gn'
GUJARATI = 'gu'
+HAITIAN_CREOLE = 'ht'
HEBREW = 'iw'
HINDI = 'hi'
HUNGARIAN = 'hu'
View
5 lib/babelphish/languages.rb
@@ -37,6 +37,7 @@ module GoogleTranslate
GREEK = 'el'
GUARANI = 'gn'
GUJARATI = 'gu'
+ HAITIAN_CREOLE = 'ht'
HEBREW = 'iw'
HINDI = 'hi'
HUNGARIAN = 'hu'
@@ -95,7 +96,7 @@ module GoogleTranslate
# all languages
# LANGUAGES = [AFRIKAANS,ALBANIAN,AMHARIC,ARABIC,ARMENIAN,AZERBAIJANI,BASQUE,BELARUSIAN,BENGALI,BIHARI,BULGARIAN,BURMESE,CATALAN,CHEROKEE,
# CHINESE,CHINESE_SIMPLIFIED,CHINESE_TRADITIONAL,CROATIAN,CZECH,DANISH,DHIVEHI,DUTCH,ENGLISH,ESPERANTO,ESTONIAN,FILIPINO,FINNISH,
- # FRENCH,GALICIAN,GEORGIAN,GERMAN,GREEK,GUARANI,GUJARATI,HEBREW,HINDI,HUNGARIAN,ICELANDIC,INDONESIAN,INUKTITUT,ITALIAN,
+ # FRENCH,GALICIAN,GEORGIAN,GERMAN,GREEK,GUARANI,GUJARATI,HAITIAN_CREOLE,HEBREW,HINDI,HUNGARIAN,ICELANDIC,INDONESIAN,INUKTITUT,ITALIAN,
# JAPANESE,KANNADA,KAZAKH,KHMER,KOREAN,KURDISH,KYRGYZ,LAOTHIAN,LATVIAN,LITHUANIAN,MACEDONIAN,MALAY,MALAYALAM,MALTESE,MARATHI,
# MONGOLIAN,NEPALI,NORWEGIAN,ORIYA,PASHTO,PERSIAN,POLISH,PORTUGUESE,PUNJABI,ROMANIAN,RUSSIAN,SANSKRIT,SERBIAN,SINDHI,SINHALESE,
# SLOVAK,SLOVENIAN,SPANISH,SWAHILI,SWEDISH,TAJIK,TAMIL,TAGALOG,TELUGU,THAI,TIBETAN,TURKISH,UKRAINIAN,URDU,UZBEK,UIGHUR,VIETNAMESE]
@@ -103,7 +104,7 @@ module GoogleTranslate
# Google doesn't support translations to all languages. These are the translations available. See:
# http://code.google.com/apis/ajaxlanguage/documentation/#SupportedPairs
LANGUAGES = [ALBANIAN, ARABIC, BULGARIAN, CATALAN, CHINESE, CHINESE_SIMPLIFIED,CHINESE_TRADITIONAL, CROATIAN,
- CZECH, DANISH, DUTCH, ENGLISH, ESTONIAN, FILIPINO, FINNISH, FRENCH, GALICIAN, GERMAN, GREEK, HEBREW, HINDI, HUNGARIAN,
+ CZECH, DANISH, DUTCH, ENGLISH, ESTONIAN, FILIPINO, FINNISH, FRENCH, GALICIAN, GERMAN, GREEK, HAITIAN_CREOLE, HEBREW, HINDI, HUNGARIAN,
INDONESIAN, ITALIAN, JAPANESE, KOREAN, LATVIAN, LITHUANIAN, MALTESE, NORWEGIAN, PERSIAN, POLISH, PORTUGUESE,
ROMANIAN, RUSSIAN, SERBIAN, SLOVAK, SLOVENIAN, SPANISH, SWEDISH, THAI, TURKISH, UKRAINIAN, VIETNAMESE]
end
Please sign in to comment.
Something went wrong with that request. Please try again.