Translations Model

Ordering is Multi-Language by default. We added a translations model to allow any text or string to be translated to any number of languages.

ActionMethodResourceDescription
Get allGET/translationsGet all translations.
GetGET/translations/:translation_idGet translation with id translation_id.
Create POST/translationsCreate a translation.
Update PUT/translations/:translation_idUpdate translation with translation_id.
Delete DELETE/translations/:translation_idDelete translation with translation_id.

The translations model is composed of the following attributes:

AttributeTypeRequiredDescriptionWhereable
keystringrequiredThe translation's key.Yes
textstringrequiredThe translation's value.Yes

📘

Translations can be obtained by any user no matter what level they are.

🚧

Translation only can be created, updated or removed by users level 0 (Type: Administrator)