PDA

View Full Version : IMPORTANT for SDL BeGlobal users - changed result format.



vBET
15-12-13, 22:12
We found in our logs, that SDL BeGlobal changed result format for translations.

Because of this change vBET was not able to appropriately collect translations and those was repeated just like for other provider errors, but SDL BeGlobal is counting it as normally handled request. So if you are in sandbox, then you are loosing free quota. If you are out of sandbox, then you are loosing money (consider to send them complaint in such case). We are still in sandbox for SDL BeGlobal until expenses limits will be available for this API.

For quick fix (for booth vBET 3.8.0 and vBET 4.7.0) please:
1. Open file includes/vbenterprisetranslator_class_translator.php
2. Find:

preg_match_all('/"(.*?)"/s', substr($result, 0, strpos($result, '],"partialTranslation')), $unwrappedResult, PREG_SET_ORDER, strpos($result, ':['));
3. Replace by:

preg_match_all('/"(.*?)"/s', $result, $unwrappedResult, PREG_SET_ORDER, strpos($result, ':['));

This will be included in next release.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
vBET 4.9.2 gives automatic translations