View Full Version : Language do not persist....
saji09
09-08-2009, 01:46 PM
hey, i have added two languages English and Arabic in my Vb forum, the problem i am facing is i made Arabic as my default language for the forum, but whenever the forum loads it do show arabic version but it do not persist for long, by clicking forum link or sometime any other link it take me to english version...
I don't want this to happen... Kindly help :(
Marco van Herwaarden
09-08-2009, 02:01 PM
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.
saji09
09-08-2009, 02:19 PM
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.
Marco, there is nothing installed as a plugin in my vbulletin, yes they were installed previously but i disable/uninstalled them...
I have updated code in the files according to my requirements, if i upload fresh copy i have to move through so many files :(
isn't there any other solution? can't i add ?langid=2 in every link, so that by default arabic is loaded???
Lynne
09-08-2009, 02:45 PM
Is this happening to everyone? Did you clear your cache before checking out the pages and seeing if the default language worked?
saji09
09-08-2009, 03:31 PM
Is this happening to everyone? Did you clear your cache before checking out the pages and seeing if the default language worked?
Yes lynne i checked it, i need to add ?langid=2, to make it view the arabic forum, on IE it stays for a while, but on FF the cookie or what it is, it do not persist and it returns to english forum :(
Lynne
09-08-2009, 03:39 PM
You should not have to add the language id to the url for every page. If it isn't sticking, then something else is wrong.
Have you gone to your User CP and said to use the Default Language and Saved?
saji09
09-08-2009, 03:49 PM
You should not have to add the language id to the url for every page. If it isn't sticking, then something else is wrong.
Have you gone to your User CP and said to use the Default Language and Saved?
Yes lynne have done that and it seems to fullfil my requirment to some extent but again, if i select arabic from user cp, it does not last for long, it break up and ending up into english forum...
secondly i want that every user can just see arabic forum , and the default language for him is arabic, i don't want to let him choose the option... how can i do that ?? do tell me if its possible, possibly that would solve my problem
Marco van Herwaarden
09-09-2009, 07:58 AM
Marco, there is nothing installed as a plugin in my vbulletin, yes they were installed previously but i disable/uninstalled them...
I have updated code in the files according to my requirements, if i upload fresh copy i have to move through so many files :(
isn't there any other solution? can't i add ?langid=2 in every link, so that by default arabic is loaded???
The you should backup your current scripts and overwrite them with default files. By doing so you know immediate if the problem is because of an edit or not.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.