Skip to main content

Setting Character Limitations in Multilingual XML

Comments

1 comment

  • Official comment
    Wojciech Mocek

    Good morning Mark,

    hope you are fine.

    Let me post an answer here so that others can benefit as well.

    You can set up character limitations only if the length attribute is as below (see bold):

    <context>
    <name>AccessView</name>
    <message length=19>
    <location filename="../LibNwStandardPlatform/plugins/Nw/TechnicalMenu/qml/AccessView.qml" line="10"/>
    <source>User Access</source>
    <comment>19</comment>
    <translation type="unfinished">Benutzer-
    zugang</translation>
    </message>
    <message length=20>
    <location filename="../LibNwStandardPlatform/plugins/Nw/TechnicalMenu/qml/AccessView.qml" line="48"/>
    <source>Saved successfully</source>
    <comment>20</comment>
    <translation type="unfinished">Erfolgreich gesichert</translation>
    </message>
    </content>

    Then you can use the configuration setup like this:

     

    Have a blessed day everyone.

    All the best

    Wojciech

Please sign in to leave a comment.