amatsuda / i18n_generators

A pack of Rails generators gem plugin that generates Rails 3 and Rails 2 I18n locale files for almost every known locale.
http://github.com/amatsuda/i18n_generators
MIT License
296 stars 29 forks source link

Use Bing Translator instead of Babel Fish. #9

Closed kentaro closed 12 years ago

kentaro commented 12 years ago

http://babelfish.yahoo.com/translate_txt now returns 404. I changed search strategy to use Bing Translator instead, which seems to have only private API, though.

kentaro commented 12 years ago

My patch just works, but that API it uses seems to be private. I can't tell it's appropriate to use it.

amatsuda commented 12 years ago

Confirmed it's working! Awesome! :revolving_hearts: But what is appId=%22T5y_QKkSEGi7P462fd0EwjEhB0_XGUl8PNTgQylxBYks*%22 How did you get this appId thing?

kentaro commented 12 years ago

I got it by looking into browser's web inspector. appId seems to be for the search engine, but it seems can be used also via API request. I hope there was more appropriate way, though...

amatsuda commented 12 years ago

lololololol Alright. I really like the hack :secret: Lemme :shipit: and see what's gonna happen :)

kentaro commented 12 years ago

Thank you :smile_cat:

kuboon commented 11 years ago

They say "The token has expired" now :(