Change default language in Scilab on Mac OS X - macos

My OS X installation is not in English.
I suppose for that reason my version of Scilab UI is shown in a mixture of my OS language and English, which is an annoyance.
Looking in the manual of Scilab reveals there is a command to set the default language, it is called 'setdefaultlanguage', but it comes with the limitation that it only works for Windows platforms.
Is there a Mac user who achived to change the UI language? If so, how did you accomplish this?

Wow there was no easy way to accomplish this.
I had to modify the starting script of the Scilab binary.
I changed the $MORE_OPTS variable to permanently contain the parameter "-l en", which switches the language to English.

There is an option to open Scilab with the desired language option, even if this does not change the default language option. For Scilab 6.0.2, you can use the following command:
/Applications/scilab-6.0.2.app/Contents/MacOS/bin/scilab -l en_US
In this command, "en_US" stands for the english language. You can see this link for other language options.

Related

Spell-checker in OSX not recognizing even basic English words

Regardless of which application I use in mac OS (Sierra), even the most basic English words are not being recognized by the spell checker. Is there any way to "reset" the Dictionary in mac OS?
Press command-shift-semicolon to get into the spelling checker preferences, and check if you have picked a language other than English.
If it's set to German, yes, then it won't recognise even basic English words.

How do you use Scheme in OS X?

I downloaded scheme from http://www.gnu.org/software/mit-scheme/
I now have some sketchy X11 window...
and now I have no idea what to do... Shouldn't this have returned 3?
Give Racket a try. It's very user-friendly, has a nice GUI and runs fine in OS X.
M-z evaluates the definition that point is in
…according to TFM. That means Meta-Z, which usually means Alt-Z.
If you have Xcode installed, you may find it easier to build and use this or a different Scheme from the command line (the Terminal app). Try Chibi or Gambit.

system locale language settings

I set my system locale language under "Region and Language" options in the Control Panel to Chinese, however it changes the default language for many of my English-default programs as well.
However, the most annoying thing is that, as I am also a developer, it changes many things in my command prompt command line displays to Chinese as well.
Does anyone know of a way to only change certain programs to use the Chinese system locale?
Please help.
Thanks
AppLocale
http://www.microsoft.com/download/en/details.aspx?id=13209
Additional procedure to install it in Vista or 7
http://www.mydigitallife.info/workaround-to-install-microsoft-applocale-utility-in-windows-vista/

How does the Mac OS determine which localization.strings file to use?

I have and XCode project with a list of supported languages. By default, XCode only lists 4 default languages when you click on "Add Localization" on the Localized Group info window. I just followed a sample project and added Localizations in a mix of full language names and some using the what I think is ISO 639-1 notation. What is weird is this:
I added a localization name "zh_CN" (just imitated the existing project) for Simplified Chinese. When the project is compiled, it has the .app/Contents/Resources/zh_CN.lproj/Localizable.strings. I change the system's language to Simiplified Chinese and run the app. Voila, it works and gets the Simplified Chinese Localizable.strings.
However, if I use NSLocale's API, I get "zh-Hans". "zh_CN" strings were loaded yet NSLocale returns "zh-Hans".
How does the Mac OS determine to use the "zh_CN" strings when using Simplified Chinese as the locale? Is there an API to know that the current system language will use the "zh_CN"?
zh_CN is a old way to indicate Simiplified Chinese.
and now it's better to use "zh-Hans" instead. (in order to support old vernon of iOS and OSX, I think Apple will still support old style names like zh_cn.
(this document "Language and Locale Designations" explains everything :D)

gtk2 auto translation is choosing the wrong language

Not sure if yall can help this time, as I'm just using this particular program not coding with it...
I downloaded Deluge, a free torrent app, and it requires GTK2 Runtime which I've also installed. Unfortunately, on my English WinXP with East Asian Language support Deluge sets itself to Chinese menus and has no option to alter the language. A bit of poking around on the internet suggests this is due to GTK2 selecting the wrong default language.
Does anyone know how I can override this?
You caould try to change LC_MESSAGES or LANG environment variables to "C" (default locale, in 99% English) or your language code ("en" or "en_US" etc).

Resources