Contributions

Features (Category Index)
Search: 

Automatic Language Selection

This hack allows OSC to select language according to language settings of user's browser. It checks HTTP_ACCEPT_LANGUAGE variable and tries to use it as languege code. If it fails it uses DEFAULT_LANGUAGE.

Expand All / Collapse All

Outdated: the module is built into oscommerce 2.2 Nikolay Kitsul 16 Jul 2004

It is built in into current version 2.2.
There is the fucntion in language class get_browser_language(), which is called from application_top.php.

Good luck

Automatic Language Selection 1.0 Maxim Mishyn 25 Aug 2002

Note: Contributions are used at own risk.