Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • Hi,
    How to translate dashborads to other language then english (login page, time format on axis according to language standard, decimal values)?


  • @przemom
    We don't have a help article currently available but we are more than willing to guide you. Localization is an area that we are actively working on improving in our next core release which is very close.

    Translations can be provided as a properties file, there is one for the core and one for each module. If you want to get started here are the core and dashboards module translation files
    Dashboards
    Core
    The new UI only uses a small proportion of the translations from the core file so you probably don't want to translate all of them.

    Date formatting can be changed fairly easily, we use moment.js to format the dates, try switching the locale at the bottom of their home page to see what the dates would look like for your locale.

    The formatting of point values is controlled by the text renderer for each point which can be set to format decimals however you desire.


  • Thanks for answer,
    should I put these two files to overrides/properties? But these are two separated files. Should I merge them to single file i18n.properties and put to overrides/properties?

    Date formatting can be changed fairly easily, we use moment.js to format the dates, try switching the locale at the bottom of their home page to see what the dates would look like for your locale.

    In which file do I have to change locale? I've changed in index.html of my dashboard:

    <!DOCTYPE html>
    <html lang="pl" class="no-js">
    <head>
    

    and it doesn't work...


  • Yes you can combine them into a single file called i18n_pl.properties and put it in overrides/properties. Unfortunately there are a couple of bugs in Core version 2.7.x and the dashboards module which means the translations will not be picked up, there will be a new release of Mango out very soon (this week or next) which will correct this.


  • @przemom We have released Mango 2.8.0 for testing which supports much better and easier localization, Mango will automatically detect your locale from the OS and use this for translations and date formatting (in the dashboards). All you need to do is place your translations file in overrides/properties as described above. If for some reason Mango is not using your OS locale or you want to override it, you can start Mango with java command line options such as -Duser.country=PL -Duser.language=pl

    See here for the Mango 2.8 download link -
    http://infiniteautomation.com/forum/topic/2549/mango-2-8-0-ready-for-beta-testing
    If you want to wait there will be a 2.8 release in the store soon for automatic upgrades.