掌上电脑

查看完整版本: 已解决 翻译不工作



mza3et
21-03-12, 11:55
[B]我已经安装了 VBET 3.5.4 正常,但翻译不在所有工作

r.dziadusz
22-03-12, 17:35
您好
你能教我你.htaccess 文件吗?请告诉我,如果您使用 vBSEO

mza3et
23-03-12, 10:06

htaccess

## Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.digifog\.com


RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]








#RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/index.php [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]



RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

Yes, I use vbseo 3.6

mza3et
23-03-12, 10:18
[B]页面显示为空白。即使原始的文本不显示

r.dziadusz
23-03-12, 21:36
好的它看起来确定,你能请告诉我,您使用的是 translatioan 的 API?
安德皮斯进行测试的 ou 可以在目录中您已下载的文件中找到:
dowladed 文件 / donotupload /
并为每个 transaltion 请选定的文件上传到论坛根目录:
googleapiv2test
microsoftbyazuretest
microsofttest

如果您使用的 api,请尝试打开的将它关闭,并再次检查您论坛

mza3et
24-03-12, 17:08
同样的问题

微软翻译 API 的起始翻译测试
测试结果:“你好”
测试错误:
连接的时间 (毫秒): 100.077148438


完整的标记:
{"错误":"invalid_request","error_description":"ACS90011: 必填的字段/u0027client_id/u0027 是缺少。 / r/nTrace ID: 60fd9375-96fb-4e9b-a0db-c78403f65965/r/nTimestamp: 2012年-03-24 15:51:43Z"}

测试结果: "ArgumentException: 令牌中找到的任何持票人信息: ID=3641.V2_Json.Translate.40AF2BCD"
测试错误:
连接的时间 (毫秒): 42.4240722656

r.dziadusz
24-03-12, 18:55
OK
如果您使用 microsoft 的湛蓝,只是为了测试删除:
微软商业翻译 API 密钥由 Azure 和
微软商业翻译 API 的浅蓝和检查比的秘密

最有可能有萼已插入的"client_id"wchich 站错了价值 vBETs"微软商业翻译 API 密钥"请 chceck 它仔细

r.dziadusz
14-04-12, 16:48
没有答案,考虑解决它,请感受释放问的问题,我将会重新打开此线程

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.10.1