Version: 1.00, by AN-net
Developer Last Online: Jan 2010
Version: Unknown
Rating:
Released: 02-21-2004
Last Update: Never
Installs: 8
No support by the author.
Description:
Instantly translate all vb pages that include a footer from English to german,french,italian,and spanish.
Authors:
Sweet22 and Antonbomb22
Credits:
To google for its translation service
Tested only on Vb3 Rc3 and Rc4. There may have been code changes since betas and gamma to the templates that need to be edited by this hack. If you experience difference in code please post it and ill tell you what to do
**PLZ NOTE THAT WHEN TRANSLATING IT LOGS YOU OUT AND YOU CAN NOT LOG IN ON A TRANSLATED PAGE!** I hope to fix this issue sometime in the future, if anyone has a fix or suggestion on how to fix it is welcome.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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>
If you want to translate from German to French then add this code after the last </option> tag in your footer:
Code:
<option value="de|fr">German to French</option>
if you want to translate from spanish to english then add this code after your last </option tag in your footer:
Code:
<option value="es|en">Spanish to English</option>
if you want to translate from french to english then add this code after your last </option> tag in your footer:
Code:
<option value="fr|en">French to English</option>
if you want to translate from french to german then add this after your last </option tag in your footer:
Code:
<option value="fr|de">French to German</option>
if you want to translate from italian to english then add this code after your last </option> tag in your footer:
Code:
<option value="it|en">Italian to English</option>
if you want to translate from portuguese to english then add this code after your last </option> tag in your footer:
Code:
<option value="pt|en">Portuguese to English</option></select>
I've integrated your code into a drop down menu on my showthread template.
While doing this, I noticed that there's a little bug you code. Even on your site, when you translate the the site from the showthread or forumdisplay template, the threadid and forumid variables aren't passed.
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.
**PLZ NOTE THAT WHEN TRANSLATING IT LOGS YOU OUT AND YOU CAN NOT LOG IN ON A TRANSLATED PAGE!** I hope to fix this issue sometime in the future, if anyone has a fix or suggestion on how to fix it is welcome.
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.