The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Some words not translated after upgrade to 4.1.11
Some words not translated after upgrade to 4.1.11
I have a Language file is working good since 4.1.3 or may be before (do not remember), after upgrading to 4.1.11 I found some words shows in English only, although when I search for the translation of these phrases I found them |
#2
|
||||
|
||||
hello bro
Quote:
so if you found it by serching you can translate it to your language بالعربي اخي الكريم بعد الترقية طبعا تم اضافة عبارات الجديدة و ما دمت انك تستطيع ايجادها في البحث في اللغة و العبارات فهذا يعني يمكنك ترجمتها واضافتها للغتك التي تستخدمها بكل سهولة غير ذلك اعتقد لو انتظرت قليلا فستجد احد المترجميع العرب قد طرح ملف لغة جديد للاصدار الاخير حياك الله |
#3
|
|||
|
|||
Dear Osama,
thank you for your reply, I mean That there are some phrases show up in English only although the Arabic translation is already in the Language file, to give you an example look at the attached pics The phrase is show up in english only althoug my forum is arabic language
The same phrase is already in Arabic in the language file |
#4
|
|||
|
|||
This appears to be a bug in vb4.1.11 (http://tracker.vbulletin.com/browse/VBIV-14446). If you want, you can try out a temporary fix:
In file includes/functions_misc.php, around line 856, add the lines in red: Code:
if (!empty($strreplace)) { if (strpos("$phrasename", $strreplace) === 0) { $phrasename = substr($phrasename, strlen($strreplace)); } } if ($languageid === false) { $languageid = LANGUAGEID; } $languageid = intval($languageid); Also in file includes/functions.php line 3908, change -1 to false (scroll right to see it in red): Code:
* @param bool Force bypass of domain whitelist check * * @return none (the session is re-directed). */ function print_standard_redirect($redir_phrase, $isphrase = true, $forceredirect = false, $languageid = false, $bypasswhitelist = false) { if (!VB_API) { This seems to fix the problem but I'm not sure what else it could do, so if you try it, let me know how it goes. |
4 благодарности(ей) от: | ||
amin, baghdad4ever, Breixo, Lynne |
#5
|
|||
|
|||
Dear Kh99
these files are already uploaded, so do mean that I will do those changes then reupload them? the 1st edit position is line 854 which was empty |
#6
|
|||
|
|||
Yes, you would have to edit the files and upload them again, overwriting the existing files.
You should first save a copy of the original files (or copy them to another folder before editing) just in case. |
#7
|
|||
|
|||
Quote:
--------------- Added [DATE]1331069516[/DATE] at [TIME]1331069516[/TIME] --------------- Dear Kh99 You are the man, It is working |
#8
|
||||
|
||||
Hello
This fix don´t work, I have test it in Contac Us page and I still receive the mail in English Thanks |
#9
|
|||
|
|||
Quote:
Code:
function fetch_email_phrases($email_phrase, $languageid = -1, $emailsub_phrase = '', $varprefix = '') { if ($languageid == -1) { $languageid = LANGUAGEID; } if (empty($emailsub_phrase)) let us know if it works. |
#10
|
|||
|
|||
The last addition seems to have corrected the problem with the welcome email.
Thanks! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|