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
An active Ubidots account (Enterprise license or higher).
1. How to Create Rules?
To create a rule, follow these steps:
Go to Dev Center ⟶ Lexicon ⟶ Text Rules.
Click on the "+" button located at the upper right corner of the screen.
Name your rule. You could end up with multiple rules, so names can help you distinguish them later on.
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.
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.
Write the singular and plural forms of the word you want to introduce to the platform.
Select the apps in which the rule will be applied out of the options in the "scope" list.
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.
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:
|