• 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

    How to Make a Translation Module for Mango Automation

    Mango General
    2
    3
    3.0k
    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.
    • JoelHaggarJ
      JoelHaggar
      last edited by

      Making a Translation Module for Mango Automation is really easy (assuming you know another language)

      For a good example to follow use the Portuguese Translation module: https://github.com/infiniteautomation/ma-modules-public/tree/master/Language - pt

      Edit the following parameters in the module.properties file:

      name=
      version=
      locales=
      description=
      descriptionKey=
      documentation=
      

      Place your new html help files in the dox folder according to the "documentation=" property. These files need to match the same name as you will find in the core web\WEB-INF\dox and modules \web\dox folders

      Edit the i18n._<your locales=>.properties file in the /classes folder.

      You can use the English i18n files you will find in the core** /classes** and modules in** /classes** folders as a reference and copy the English properties to your new i18n file to help do the translation.

      Compile your module and test it out. Please post here if you need any more guidance, we are happy to help if needed.

      Joel.

      1 Reply Last reply Reply Quote 0
      • J
        jackchang
        last edited by

        Hello Joel,

        The link is not available now. Could you check:"https://github.com/infiniteautomation/ma-modules-public/tree/master/Language - pt"

        Many thanks!
        Jack Chang

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