Language auto-discovery in Opera 9.0 technology preview 2
Published: 2006-02-09 16:02:34
Another new feature in the Opera 9.0 technology preview 2 that was released on Tuesday is its support for automatic configuration based on the language preferences set by the user. Pioneered in the Mac version of Opera 8.0 (and the cause of many problems), Opera 9.0 will look at your system configuration when selecting its language configuration.
On Mac, it will check the settings made in Mac OS X System Preferences and set up the list of web page languages from there, it will also select the language file used for the user interface from the list, the standard installer (at least for the proper releases) comes with several languages in the same package. We have, however, severed the connection so that you can change the list of languages in Opera without having to touch the system preferences. But as long as you don't change them in Opera, it will follow any changes you make to the system settings.
On Windows and Unix it does not (yet) set the user interface language for you, but it will look at the system settings for the web page language. On Windows, you can configure this in the Control Panel, under International Settings. On Unix, it will look at the environment configuration and select the language from there. It looks at the variables LANGUAGE, LC_ALL, LC_MESSAGES and LANG, in this order, and make up the language list from this. Please note that only LANGUAGE (a GNU extension) supports a list of languages (colon separated).
You can see language selection in effect on web sites such as Google or Debian, which both will look at the list of languages you have configured your web browser to request and serve a page accordingly, if a translation exists.
Opera will also use your language configuration to select any autodetection mode to select the character encoding of documents (as selected in the View → Encoding menu). If you have set your system language to one where there exist several character encodings, and for which there is an autodetection mode, it should now be enabled by default when starting Opera.
Just another way of making your life easier.