You need to look at the Mendix sollution. You create an entity which holds the translatable text. And depending on the language setting of the user you do a retrieve of that text. This can also be used to override page titles etc. Much simpeler sollution then doing it with a widget. And you probably want to use this on more places where you want to translate the data inside your app.
Thanks for your reply Ronald. My question relates specifically to translating the application name, as opposed to the approach used to handle translations in general. As in setting the application name in the browsers page title, which in Mendix consists of the format « application name » – « page title »
I think you should create a Mendix ticket to request this element of the app to become translatable as well. Would be useful imo.
I’ve tried to create an alternative for you:
- Remove <title> tag from the index.html in the theme folder
But this doesn’t solve it all, because once mxui is loaded from the resources it first sets the app name and only after that the appname – page title is loaded by mxui. mxui.js is not to be tempered with.
It does show really briefly only the appname, it might be good enough for you?