• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Dashboards translations

    User help
    2
    5
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      przemom
      last edited by

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

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @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.

        Developer at Radix IoT

        P 1 Reply Last reply Reply Quote 0
        • P
          przemom @Jared Wiltshire
          last edited by

          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...

          1 Reply Last reply Reply Quote 0
          • Jared WiltshireJ
            Jared Wiltshire
            last edited by

            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.

            Developer at Radix IoT

            1 Reply Last reply Reply Quote 0
            • Jared WiltshireJ
              Jared Wiltshire
              last edited by

              @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.

              Developer at Radix IoT

              1 Reply Last reply Reply Quote 0
              • First post
                Last post