Soluling home   Document home

String restrictions

String restrictions

Sometimes there is a need to restrict the size or format of the string. For example, the space for the string is limited, and we need to limit the length to a specific amount of characters or pixels. In addition, it might be that the string can only contain certain characters. Soluling supports the following restrictions:

Restriction Description
Maximum character count The maximum length of the translation in characters.
Maximum pixels The maximum length of the translation is pixels.
Regular expression Regular expression that specifies the format of the translation.

Every string row can have any of the above restrictions. In addition, if the source of the string is a source code file or some other file where you can add comments, you can specify the restrictions in a source code comment using tags.