How Do I Automatically Show Users Their Preferred Language?
SiteTran can automatically detect and redirect to your user's preferred language, based on their browser settings.
To enable automatic language detection and redirection add this line to the bottom of your SiteTran Widget code:
sitetran.auto_switch_from_browser_lang = true;
sitetran.auto_switch_from_browser_lang defaults to false. Your website’s visitors will not have their language automatically changed to their browser language, unless you set it this to true.
Note: This is not the same thing as the sitetran.sitetran_lang cookie which is used to remember a user’s language (if they selected one).