Select to view content in your preferred language

Experience Builder apps are detected as English by browsers, causing incorrect automatic translation of Czech text

85
1
yesterday
Labels (1)
AnnaHradecká
Frequent Contributor

I have a public ArcGIS Experience Builder application that is fully authored in Czech. However, for some users (not signed in), Google Chrome detects the application as English and automatically applies English → Czech translation. As a result, already-correct Czech text is modified incorrectly by the browser. This affects not only the browser tab title, but also UI text inside the application, such as button labels.

For example: Original text authored in Experience Builder (correct Czech): Application title: “Podpoř svůj strom”, in user's Google Chrome of: “Podpora svého stromu”.

This is a serious issue for public-facing applications: Text meaning is changed without the author’s control and UI consistency and wording approved by content owners is broken.

I understand that this behavior is ultimately caused by the browser’s automatic translation feature.
However, is there any way in ArcGIS Experience Builder to influence this?

Specifically:

  • Can the original application language be defined or enforced in Experience Builder?

  • Is it possible to set the HTML lang attribute or Content-Language header for a public app?

  • Or is there any supported workaround to prevent browsers from detecting Experience Builder apps as English when the actual content is authored in another language (e.g. Czech)?

 

 

0 Kudos
1 Reply
Syvertson
Frequent Contributor

I use ArcGIS Developer, even though I am not a developer, because the standard Experience Builder in the portal does not do everything I need it to do.

When I develop an application in this version, I export the code and place it onto the web server.  Here are the first few tags:

<!doctype html><html lang="en-us"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">

I am not an expert on your specific problem, but would think right there you could change what you need for the application to work properly.  

0 Kudos