Skip to main content
All CollectionsUser Guides
Lexicon: Text Rules
Lexicon: Text Rules

Replace specific words in your IoT Application to match your use case.

Sergio M avatar
Written by Sergio M
Updated this week

Language plays a key role in making your application intuitive and user-friendly. Default terms like Device, Variable, or Dashboard may not always align with your project’s specific terminology. That's where Text Rules come in.

This feature allows you to define global rules that automatically replace predefined terms across an App with those that better fit your context and needs. Whether you're tailoring the App for engineers, operators, or healthcare professionals, Text Rules ensure your users see the language that makes sense to them.

By aligning key terms with your project's vocabulary, you’ll provide a clearer, more consistent experience for your users.

Requirements

1. How to Create Rules?

To create a rule, follow these steps:

  1. Go to Dev Center ⟶ Lexicon ⟶ Text Rules.

  2. Click on the "+" button located at the upper right corner of the screen.

  3. Name your rule. You could end up with multiple rules, so names can help you distinguish them later on.

  4. Choose the language in which the rule will apply. If you choose English, for example, the users of your app who have their account's language set to English will see the terms you configure in the rule.

  5. Choose the word that will be changed out of the options in the "entity name" list. You can choose out of these options: device, variable, dashboard, and event.

  6. Write the singular and plural forms of the word you want to introduce to the platform.

  7. Select the apps in which the rule will be applied out of the options in the "scope" list.

  8. Define the rule's processing order. Rules with lower numbers here will have a higher priority. For example, if you have two rules that both change the word "devices", the one with a lower number in the "processing order" field will be displayed to your users.

  9. For rules to start working, you must first "process" any new rules by clicking on the corresponding button, located next to the search bar (the one highlighted in the image below).

Notes:

  • If you don't process new or edited rules, their changes won't take place.

  • Trying to leave the Rules page with unprocessed rules will prompt a warning message to remind you of this step.

  • If you edit the XML of your sidebar the texts in it won't be affected by any Text Rule, even if these texts are equal to default terms.

Did this answer your question?