You are here > Bugs > PlayOnMac > Localisation > Ticket #698
Added by pbe00 on 2012-03-18 09:19:52 - Comment or update this ticket
I don't understand what is the difference with another program?
Good point. Well, I think many programs have an option to change the default language. It could also be that some of my settings are wrong but PlayOnMac is the only app that has a wrong language.
What is your system language, and what is PlayOnMac one?
My system language is English but PlayOnMac uses Finnish.
My calendar has Finnish setting because I live in Finland and find it easier for me to use. I natively speak Finnish, but I am having hard time understanding translations in computer applications. I have never used Finnish in computer applications.
Can you type in a terminal
Terminal output:
defaults read -g AppleLocale
Sure. By the way, thanks for all your effort for this! Command "defaults read -g AppleLocale" results in
fi_FI
That explains it.
A way to solve the problem, is to open the file /Applications/PlayOnMac.app/Contents/MacOS/playonmac with a text editor and replace
CurrentLocale="$(defaults read -g AppleLocale)"
CurrentLocale="en_US"
After that PlayOnMac is partly English but most of it remains in Finnish. I also tried removing configuration folder from ~/Library/ with same result.
Can you give example of untranslated strings?
Menu on top left says in English: PlayOnMac -> About, Preferences, Quit
Other menus are in Finnish (my translation is in parenthesis):
Tiedosto (File) -> Suorita (Execute), Asenna (Install), Poista (Remove), Lahjoita (Donate)
In settings there is "Sekalaista" (Misc) in Finnish and it has Mouse wrap override in English.
Choosing "Pikakuvake" (Shortcut) menu button an English dialog is displayed with text "Welcome to PlayOnMac packager" etc.
Btw, "Welcome to PlayOnMac packager" dialog has Finnish buttons "Seuraava" (Next) and "Peruuta" (Cancel).
When quitting a Finnish dialog is displayed "Oletko varma että haluat sulkea kaikki PlayOnMac ikkunat?" (Are you sure you want to close all PlayOnMac windows?)
And the buttons are in English: "No" and "Yes"
OK, it seems that only bash strings are in english, so it seems to be a wxpython bug
You could try
Terminal output:
defaults write -g AppleLocale en_US
Yes, this command fixes the issue. It also changes the whole system locale and my calendar changes to US calendar.
So in conclusion, to override PlayOnMac automatic language detection one has to run "defaults write -g AppleLocale xx_XX" in terminal before the application is launched and "defaults write -g AppleLocale yy_YY" after closing it.
I think this at least proves my original point. Thanks for you kind help anyway!
As any other application, you cannot chose the langage ;) Sorry, it's to complicated to manage that