April 17, 2009

Mac OS X Translation Widget Garbles Russian Translations

Open /Library/Widgets/Translation.wdgt/Translation.js as root and find the line like this

else if (code == "ru") return "WINDOWS-1251";

(line 430) in the getEncodingType function and comment out this line with two slashes in the beginning on the line. Open the dashboard and reload the Translation widget by pressing Command+R.

via Apple – Support – Discussions – translation widget: from russian to ….