PDA

View Full Version : Usernames still translated



vBET
09-10-09, 18:47
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!

vBET
07-07-10, 11:49
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

gopalmm2
23-05-12, 02:00
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

gopalmm2
01-06-12, 23:37
Hello.

Any update on this?

vBET
12-07-12, 20:47
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.

vBET
12-08-12, 12:14
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.

gopalmm2
12-08-12, 21:39
Fantastic work!! Thank you so much :D

vBET
12-08-12, 21:55
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 :)

gopalmm2
12-08-12, 22:19
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.

vBET
13-08-12, 11:19
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 :)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET 4.10.1