How To Change The Locale

StockMarketEye formats dates and numbers based on your computer’s location settings. Theses settings are appropriate for most users. However, you may wish to change them to get a formatting that is more appropriate for your needs.

Note

The number of decimal places to be displayed as well as if a thousands separator should be displayed can be changed in the Preferences -> Visuals tab.

By setting a specific locale, you can determine how numbers and dates will be formatted. For example, in English, the period (.) is used as the decimal separator and the comma (,) is used as the thousands separator. However in many non-English locales the comma (,) is used as the decimal separator and a period (.) is used as the thousands separator.

StockMarketEye will autmatically choose a locale based on your computer’s location settings. If you want to use a different locale in StockMarketEye, you first need to determine which locale you want to use.

A locale is made up of 2 parts; a language and a country. Language is specified as a lowercase 2 letter abreviation, i.e. ‘en’ for English, ‘de’ for German, ‘sv’ for Swedish. Country is specified as an uppercase 2 letter abreviation, i.e. ‘US’ for the United States, ‘DE’ for Germany, ‘SE’ for Sweden.

For example, if you wanted to use French number and date formatting, you would choose ‘fr’ as the language and ‘FR’ as the country. If you wanted to use Canadian French number and date formatting, you would choose ‘fr’ as the language and ‘CA’ as the country.

Note

You can see a full list of locales on the following page. In the “Locale ID” column the first 2 lowercase letters are the language and the last uppercase letters are the country.

List of supported Locales

Changing Locale on Windows

  1. Quit StockMarketEye.
  2. Go to the folder where StockMarketEye was installed. The default install location is:
Windows 8/7/VistaC:Users<your user>AppDataLocalStockMarketEye
Windows XPC:Documents and Settings<your user>Local SettingsApplication DataStockMarketEye
  1. In this folder, is a file called: StockMarketEye.ini. Note that this is a hidden file so when you search for it, you’ll need to include system/hidden files. On Windows 7, searching for hidden files is slightly different than the image from Windows Vista below. See this page for how to include hidden files in search on Windows 7.
Search for StockMarketEye.ini
  1. Open this file with Wordpad and add the following lines. Be sure to change the language and country abreviations to your chosen language and country.
vmarg.8=-Duser.language=<language abreviation>
vmarg.9=-Duser.country=<country abreviation>
  1. Save the file and start StockMarketEye.
  2. StockMarketEye should now display numbers and dates in the format appropriate to the language and country settings you have choosen. If you would like to try different settings, you can change the language and country to different values. If you want to go back to the default setting, letting StockMarketEye automatically choose the settings, remove the 2 entries you just added from the ini file.

Changing Locale on Max OS X

  1. Quit StockMarketEye.
  2. Using the Finder, go to the Applications folder or the folder where you have StockMarketEye installed. StockMarketEye in the Application folder.
  3. Ctrl-click (or right-click) on the Application and select with “Show Package Contents” Show the contents of the application.
  4. In the new Finder window, navigate to the Info.plist file as shown below. Ctrl-click (or right-click) and open it. Be sure to open it with “TextEdit.app” (Open With -> Other -> Applications -> TextEdit). Contents of the application.
  5. The TextEdit editor will open. Navigate down to the bottom of the file and add the following 2 lines in the location shown in the next screenshot.
<string>-Duser.language=language-abreviation</string>
<string>-Duser.country=country-abreviation</string>

Remember to change the language-abreviation and country-abreviation to your chosen language and country.

Info.plist edition for locale settings
  1. Save the file (menu: File -> Save).
  2. Start StockMarketEye.
  3. StockMarketEye should now display numbers and dates in the format appropriate to the language and country settings you have choosen. If you would like to try different settings, you can change the language and country to different values. If you want to go back to the default setting, letting StockMarketEye automatically choose the settings, remove the 2 entries you just added from the ini file.

Changing Locale on Linux

  1. Quit StockMarketEye.
  2. Go to the folder where StockMarketEye was installed. The default install location is:
Linux/home/<your_user>/StockMarketEye
  1. In this folder, you’ll find a file called: StockMarketEye.sh
  2. Open this folder with a text editor (gedit, emacs, etc) and change the following line near the top:
JAVAOTHERS=

to read:

JAVAOTHERS=”-Duser.language=<language-abreviation> -Duser.country=<country-abreviation>”
  1. Save the file and start StockMarketEye.
  2. StockMarketEye should now display numbers and dates in the format appropriate to the language and country settings you have choosen. If you would like to try different settings, you can change the language and country to different values. If you want to go back to the default setting, letting StockMarketEye automatically choose the settings, remove the 2 entries you just added from the ini file.