Quote:
Originally Posted by segwayon
My site seems to put out this error at the top of the page twice whenever I select a non-English flag:
"Warning: mysql_ping() expects parameter 1 to be resource, object given in [path]/includes/vbenterprisetranslator_functions.php on line 495"
Any suggestions on what is causing it would be appreciated.
Edit: Also, I noticed as a test that whenever a Spanish user selects to translate into Spanish a post written in German from a forum with an English default language, the mod translates German words which look like English into Spanish as if the source language is English, and leaves the non-English-looking German words alone. Can you alter the mod to set the "source language" to "auto" so that Google translations can auto-detect? There may be other boards which use multiple languages.
Edit2: I notice that the page "online.php" ("Currently Active Users") will translate the user names. Also, those error messages listed above don't appear on the forum homepage, but will appear within a forum or a thread.
|
1. Strange - fast fix: put
return; at the beginning of this function. what version of vB are you using? Do you use mysqli?
2. vBEt 2.x supports translation from forum language to specified language. vBET 3.x supports multilingual communities also allowing to write messages in any of supported language (also with option of auto-detection)
3. Added in TODO list to not translate usernames on online.php page.