Website translator endless reloads

Hi,

I have integrated the Website Translator in my Flarum forum.
When I change the language within a thread, an endless reload is triggered.

You can see this here: phpStorm Browser Icons deaktivieren - Community Hub für TYPO3

The Translator button is in the bottom right corner.

On the overview page of the forum it works as expected.

Any help would be appreciated.

Best regards
Wolfgang

2 Likes

Hi there, @Wolfgang_Wagner and welcome to the Community :wave:

I am really sorry about this issue!

I’ve passed it on to the devs and will update you tomorrow :slightly_smiling_face:

2 Likes

Hi there, @Wolfgang_Wagner :wave:

When you choose a specific language for the translation, the widget adds lang parameter to the website URL and the page is reloaded with the content translated to the chosen language.

Here is a usual link: https://forum.t3academy.de/d/769-phpstorm-browser-icons-deaktivieren/4

And this is a link with the lang parameter, if you choose Italian language:
https://forum.t3academy.de/d/769-phpstorm-browser-icons-deaktivieren/4?lang=it

The thing is that your website removes any URL parameters (including lang), which leads to the infinite loading. To fix this issue, you should disable the removal of URL parameters on your website.

Please let me know if this explains things or if you have any further questions :slightly_smiling_face:

1 Like

Thanks for the information, that helps me. Now I just have to find out how to deactivate it in Flarum.

2 Likes

No problem!

If anything else comes up, we are always here to help :wink: