User Defined Token Naming Rules

Navigation:  Languages and Translations > The Tokens Manager > Token Translations > Defining your own Tokens >

User Defined Token Naming Rules

Previous pageReturn to chapter overviewNext page

When you define your own tokens, the name you give to these tokens must obey the following :


Token names must be unique.


You can only define tokens with a single translation; you cannot define mixed source tokens. For example you cannot define a new token which has a translation of "weekday" or "week-end" depending on the date, because Q++Studio has no way of knowing which of the 2 translations to use.


The first character of any user defined token must be ':' (a colon).


The characters allowed in a token name are the following : 'a' to 'z', 'A' to 'Z', '1' to '9' and the characters '&' ':' '.'  ';'  '!'  '\'  '/'  '(' ')'  '|'  '_'.


Note that you will be warned if the new token name violates any of the rules above.

Topic 123200 updated on 03-May-2018.
Topic URL: