SKIP LANGUAGE

From TMM Wiki
Jump to navigationJump to search

You can set surfer's browser languages to skip and load the default language instead

Skip language config screenshot.png


Example use case:
Display the default language, 'English', to surfers who's browser language is any of the following 3 languages: 'Russian', 'Japanese', & 'Spanish',

$config['BROWSER_LANGUAGE_DEFAULT'] = 'en';
$config['SKIP_LANGUAGE'] = Array('ru','ja','es');

All 3 skipped languages would then use the default language, 'en'.