Forum Discussion

Warren_Brill's avatar
9 years ago

Rank Name as Text Key

We support multiple languages on a single instance. In trying to create the most consistent language environment for our regional users, we would like the rank names to be localized. Therefore, the rank names need to to be text keys, not literal strings. Then the rank name would be something like "text.format{Trusted Contributor}" instead of simply "Trusted Contributor." Is this feasible to do, and has anyone done this already? Currently it is a component "lia-user-rank" but followed by an explicit string.

  • Warren_Brill - Certainly yes. Here is the documentation for this.

     

    A snippet from the doc.

     

    For the English text properties:

    rank.1.title = Administrator

     

    For the French text properties:

    rank.1.title = Administrateur

  • Warren_Brill - Certainly yes. Here is the documentation for this.

     

    A snippet from the doc.

     

    For the English text properties:

    rank.1.title = Administrator

     

    For the French text properties:

    rank.1.title = Administrateur