![]() |
here are other translations not included in the instruct file:
To translate german to english add this code after the last </option> tag in your footer: Code:
<option value="de|en" selected>German to English</option> Code:
<option value="de|fr">German to French</option> Code:
<option value="es|en">Spanish to English</option> Code:
<option value="fr|en">French to English</option> Code:
<option value="fr|de">French to German</option> Code:
<option value="it|en">Italian to English</option> Code:
<option value="pt|en">Portuguese to English</option></select> |
Quote:
|
credit:
uber find in footer: Code:
<input type="hidden"name="u" value="http://www.animationation.net$translationurl"> Code:
<input type="hidden"name="u" <if condition="$translationurl=='/community/showthread.php'">value="http://www.animationation.net$translationurl?t=$threadid&f=$foruminfo[forumid]"<else />value="http://www.animationation.net$translationurl"</if>> |
Ok since there are several files that require variables i will not support problems with translating beyond index.php for now. when i release version 2 of this hack i will most likely have every .php in the forum root folder with condition until then i will not support problems with translation other than index.php.
|
Can't you just make a phpinclude hack to make new vars for the scriptname and stringvars globals, and then use those in your translationurl ?
|
Like this eg:
Change php_include to match this: Code:
$translationurl=$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']; This will pass all query strings to the translator ... |
Sweet!
|
Quote:
|
Thanks very much for your efforts on this as it's very much needed on my board. As far as the log out problem goes, just hitting the "Back" button brings you back to a logged in page so not that big of a deal for me. A bigger problem is that it only works on pages available for guests otherwise they get a nicely translated "No permissions" page...lol Google uses frames for the translation which I suspect is part of the problem but there must be a way to pass either cookie or session info to their main frame window. I'm experimenting with it now but not overly hopeful I'll be able to figure it out. This is a good addition to my site but so close to being an excellent one.
|
Quote:
PHP Code:
HTML Code:
<input type="hidden"name="u" value="http://www.yoursite.com$translationurl"> HTML Code:
<input type="hidden" name="u" value="$vboptions[homeurl]$translationurl" /> Code:
<div align="center"> |
All times are GMT. The time now is 02:45 PM. |
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:
|