开发者

Resource file translator

开发者 https://www.devze.com 2023-02-15 02:07 出处:网络
I\'m thinking of writing a app to read .net resouce files,开发者_开发问答 loop through the text entries sending them to google translate, and creating a new resouce file for the various languages. Any

I'm thinking of writing a app to read .net resouce files,开发者_开发问答 loop through the text entries sending them to google translate, and creating a new resouce file for the various languages. Any thoughts or suggestions?


I wrote a similar application using the Bing translator - check out my example of how to use it here:

http://www.jimmycollins.org/blog/?p=241

The one thing to watch out for is if Google has any limits on how many requests you can send it (e.g. in a minute). I had to put in some logic to get around this exact problem when using Bing.


The result will be plain awful and in many cases complete nonsense.

Many strings in an application is just one word without context and that can translate into many different words in other languages depending on the context, but to Google translate the context would be unknown and Google translate would have no idea how to best translate the word.


The Google Translate API has been deprecated so you would want to look at a different provider. Still, online translators will typically give poor results, especially when translating software and UI elements.

0

精彩评论

暂无评论...
验证码 换一张
取 消