boatmeme / microsoft-translator-java-api

Java wrapper for the Microsoft Translator API
http://code.google.com/p/microsoft-translator-java-api/
Apache License 2.0
85 stars 61 forks source link

Provide a way to specify TO/FROM languages using String instead of Language Enum #30

Open boatmeme opened 12 years ago

boatmeme commented 12 years ago

Need to provide a way to use the API without having to use the Language Enum. Preferably, user should be able to pass in a String representing the Microsoft Translator Language code.

This would allow the Java API to support new languages as the Microsoft service adds support, without the need to release new code (i.e., a new instance of the Language Enum).

nicdnb commented 11 years ago

Could probably use GetLanguagesForTranslate Method and also GetLanguagesForSpeak Method