Catsxp Website and Forum Translate Issue

分享点滴经验
回复
Jeffhere
帖子: 23
注册时间: 2023年 1月 2日 08:17

Catsxp Website and Forum Translate Issue

帖子 Jeffhere »

This concern may be for the websites admins...

I am having problems with translate, using 3.16 beta 2.

I believe it might be related to the Catsxp forum and website, as I tested a few others (in Chinese, French and Polish) and they worked. The Catsxp sites are not translating for me, I am receiving an error as in pic every time.
附件
The error I receive
The error I receive
translate.jpg (8.84 KiB) 查看 375 次
catsxp
网站管理员
帖子: 354
注册时间: 2022年 12月 26日 17:41

Re: Catsxp Website and Forum Translate Issue

帖子 catsxp »

Open the Google translation source in Flags and try again!
Jeffhere
帖子: 23
注册时间: 2023年 1月 2日 08:17

Re: Catsxp Website and Forum Translate Issue

帖子 Jeffhere »

catsxp 写了: 2023年 1月 23日 10:55 Open the Google translation source in Flags and try again!
I don't see a "google translation source flag" but I do have both google and catsxp flags enabled for a few versions....it worked, then started receiving that error 3 or 4 days ago (did nothing to any settings in-between working and not). As noted, other sites work....
附件
both have been set
both have been set
translate2.GIF (17.84 KiB) 查看 310 次
catsxp
网站管理员
帖子: 354
注册时间: 2022年 12月 26日 17:41

Re: Catsxp Website and Forum Translate Issue

帖子 catsxp »

catsxp://flags/#use-google-translate-endpoint
Jeffhere
帖子: 23
注册时间: 2023年 1月 2日 08:17

Re: Catsxp Website and Forum Translate Issue

帖子 Jeffhere »

yes, that was the solution. Thank you!
Jeffhere
帖子: 23
注册时间: 2023年 1月 2日 08:17

Re: Catsxp Website and Forum Translate Issue

帖子 Jeffhere »

I wanted to update users on my "issue" because others could run into the same issue.

I thought translation was resolved, but when I was on another laptop, I had all 3 flags enabled, but still received the "Page could not be translated" message and indeed, the page did not translate! That was strange.

Troubleshooting the difference between the 2 Catsxp setups, I found the concern.

If you use the Catsxp shield and have "blocked scripts", you will get the "can't translate" prompt.

JSPic0001.gif
JSPic0001.gif (9.53 KiB) 查看 198 次
There must be a script that is used to translate websites. If scripts are blocked, the page will not translate.
catsxp
网站管理员
帖子: 354
注册时间: 2022年 12月 26日 17:41

Re: Catsxp Website and Forum Translate Issue

帖子 catsxp »

Translation obtains the text through js, then sends the text to the server, and then returns the translated text through js. Js disabled? How to work?
Jeffhere
帖子: 23
注册时间: 2023年 1月 2日 08:17

Re: Catsxp Website and Forum Translate Issue

帖子 Jeffhere »

catsxp 写了: 2023年 1月 27日 22:59 Js disabled? How to work?
With js disabled, translate did not work. I would not know at the time it was done by scripts....

on 1 PC, I had already turned off scripts to deal with that "titantv" script issue I posted about 2 weeks ago. The #2 PC I haven't used for 2 weeks, so the script blocker was still on...

I had to figure out the difference. That's when I realized translate is through scripts.

But I wanted to post the info, so if anyone else blocks scripts and then websites can not translate, they can find this post and resolve the issue.
catsxp
网站管理员
帖子: 354
注册时间: 2022年 12月 26日 17:41

Re: Catsxp Website and Forum Translate Issue

帖子 catsxp »

Under normal circumstances, no user should disable js. How can the web page not have js? It has little use and can only be used as a static display page.
Jeffhere
帖子: 23
注册时间: 2023年 1月 2日 08:17

Re: Catsxp Website and Forum Translate Issue

帖子 Jeffhere »

scripts also initiate anti-adblocking and such. I was able to partially disable the anti-adblocking script and have limited page use. Then I found a better way.
回复