skip to Main Content

You can specify localised text for the Achievement label and description to be translated into a specific language. If you need to add additional languages, go to Settings → Languages and add a new language to be stored.  You can read more about how to add an additional Language to the list of accessible languages in the Achievement translation here.

Please note that when no Languages are added to the Space then this step is skipped and not shown in the Achievement creation Step 7

TRANSLATIONS fields

EXAMPLES

» Languages Object

Optional

Select languages needed for your Achievements Name and Description to be translated to.

 

» Name String

Optional

The translated name of the Achievement that the player sees when he or she receives the Achievement.

 

» Description String

Optional

The translated Achievements description visible to players on the Achievement.

 

APP Example:

LanguagesEnglish
NameWelcome back
DescriptionDaily login

API Example:

{
    "jsonClass": "Achievement",
    ...
    "translations": {
        "en-GB": [
            {
                "jsonClass": "Translation",
                "fieldName": "name",
                "text": "Welcome back"
            },
            {
                "jsonClass": "Translation",
                "fieldName": "description",
                "text": "Daily login"
            }
        ]
    },
    "translatableFields": [
        "name",
        "description"
    ]
    ...
}

The API example provides only a simplified version of the POST body. A full example of POST Achievement can be found in the Achievements APP API documentation here.

PREVIOUS – Click Previous and go back to the previous step.

CONTINUE – Click Next and continue to the next step.

Back To Top