![]() |
[MOD] Multilanguage v2.6.1
Tihis is a simple code for multilanguage support:
Open Arcade.php Search this code: Code:
$langfile="lang_Arcade_".$ibforums->langid; replace with: Code:
if ( (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) && (stristr($_SERVER["HTTP_ACCEPT_LANGUAGE"], "it"))) { |
nice idea to "auto-select" it :)
but this needs to be adapted in some other places, too. Would you mind if I try to put this completely in v2.6.2+ ? |
It looks like this mod only works with the browser auto detect the default language, I would prefer if it works with VB especially the quick language selector, that would be perfect for that :) because most the forum nowaday provide multi-languages for users to choose in the forum rather than the browser setting. Anyway, its a great mod. Thank you for sharing.
|
All times are GMT. The time now is 10:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|