We have a Retool app which has text mostly in Portuguese. If a user is using Google Chrome and has translation enabled, it will alter most of the text in the app in a way that makes the text difficult to understand. Is there any way to disable the application of translation?
Hi @Rafael_Haber!
Retool doesn’t have a built-in way to block browser translation, but users can control that in their browser settings.
If you need more control over languages, you can also set up localization in your app using Retool’s Localization guide.
Hope that helps!
Hey @Rafael_Haber - thanks for reaching out. To echo @Adnan_Khalil1, there are certain meta
tags that can prevent automatic translation of page content, but Retool does not expose those to app editors and it's not the kind of thing that we would want to disable globally. Internationalization and/or localization is probably the ideal solution, but those feature are currently gated to Enterprise plans only.
What kind of page content is being poorly translated - text that you as the developer have defined? And is it being translated to English in most cases? It's probably not super relevant to the issue you're describing, but I stumbled across the below Beta
setting and thought I'd share.
I have not personally tested this, but am curious to know what effect it might have.
Hey @Darren , thanks for the response. I actually don't think that internationalization and/or localization are the ideal solutions -- all the information on my Retool application is in Portuguese and I'd like it to always remain in Portuguese.
What is happening is that the translation tool assumes the text is in English, and thus translates certain words to Portuguese when they shouldn't have been translated in the first place. For instance, "time" means team in portuguese, but it is being translated to "tempo" (time in portuguese). I have tried unsetting the beta setting you've suggested but it didn't change any of the incorrect translations, unfortunately.
What I'm most worried about is having users take incorrect actions because of the translations, which is frustrating.
Yeah, that makes sense - configuring language and translation settings within Retool wouldn't necessarily prevent the browser from applying translations after the fact. I think only the translate
attribute on the top level html
element would prevent it outright.
I'll reach out internally to see if there's something that I'm not thinking of or, more generally, if we'd consider exposing certain tag attributes.