View Full Version : Usernames still translated
There is lot of places where usernames are shown. If you found one of places where usernames are still translated - please report it here :)
botmasterlabs
07-07-10, 07:36
with turned ON Optimization of HTML code in vBSEO nickname is translated everywhere!
You cannot use any tool which removes HTML comments. This is hoe vBET marks parts of HTML output which will not be translated. If you remove it - then vBET has no information about what shouldn't be translated and everything will be.
Please note that if you want to remove comments from HTML output you can doo it after translation. It means after global_complete hook or in this hook, but with higher execution order that vBET plugin have for this hook
I'm getting an issue usernames being translated when sending PMs using vBET 4.4.6
Here's the example:
http://ftazeta.com/private.php?do=newpm&u=1
vs.
http://ftazeta.com/es/private.php?do=newpm&u=1
Any help on this would be appreciated.
Actually, the issue is there in your site as well.
http://www.vbenterprisetranslator.com/forum/private.php?do=newpm&u=2
vs.
http://www.vbenterprisetranslator.com/forum/sr/private.php?do=newpm&u=2
r.dziadusz
25-05-12, 21:11
Hi I will chceck it on our testforum
Hello.
Any update on this?
Hi. Sorry for delay - Radek is no longer part of the team. We will check it and correct it. If it will be simple we will also describe quick fix.
I'm getting an issue usernames being translated when sending PMs using vBET 4.4.6
Here's the example:
http://ftazeta.com/private.php?do=newpm&u=1
vs.
http://ftazeta.com/es/private.php?do=newpm&u=1
Any help on this would be appreciated.
Actually, the issue is there in your site as well.
http://www.vbenterprisetranslator.com/forum/private.php?do=newpm&u=2
vs.
СМФ предузећа преводилац (вБЕТ) (српски) (http://www.vbenterprisetranslator.com/forum/sr/private.php?do=newpm&u=2)
We added new plugin to cover this and now it is working fine - please confirm does on our forum the issue is gone. This will be included in next release.
Fantastic work!! Thank you so much :D
Thanks for confirmation. If you need it earlier we can add here description for quick fix - just tell :) If not then as we informed before it will be included in next release anyway :)
Sure, if it's an easy fix and won't take too much of your time. But if the next release is soon, please don't bother. Thanks.
It is enough to create one additional plugin - you can do it by Admin CP:
Go to Admin CP > Plugins & Products > Plugin Manager
Click Add New Plugin
Set values:
Product: vB Enterprise Translator
Hook location: private_newpm_blank
Title: Don't translate usernames (in new PM)
Execution Order: 5
Plugin PHP Code:
if ($_REQUEST['language'] && $vbulletin->options['vbenterprisetranslator_donttranslateusernames']) {
$pm['recipients'] = '<!--vBET_SNTA-->' . $pm['recipients'] .'<!--vBET_ENTA-->';
$pm['bccrecipients'] = '<!--vBET_SNTA-->' . $pm['bccrecipients'] .'<!--vBET_ENTA-->';
}
Plugin is Active: Yes
Click Save
And that's it :)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.