API reference

Languages

Translating and finding the language of texts, the project's own languages and its term lists.

Scopes for this area: language:read, language:write and language:admin.

10 operations

language

MethodRouteWhat it doesLevelCommand
GET/language/languagesEvery language Rivier works in: its code, its English name, its own name, whether it is written right to left, and whether model-based translation lists it.readrivier language language list

settings

MethodRouteWhat it doesLevelCommand
GET/language/settingsThe project's own languages: the one it writes in first, the ones it offers its customers, whether incoming messages are translated, and the term list used by default.readrivier language settings get
PUT/language/settingsSet the project's languages. The main language is always offered.adminrivier language settings set

glossary

MethodRouteWhat it doesLevelCommand
GET/language/glossariesThe project's term lists: names, products and words with fixed translations, or kept as written.readrivier language glossary list
POST/language/glossariesAdd a term list.adminrivier language glossary create
GET/language/glossaries/{id}One term list with its terms.readrivier language glossary get
PUT/language/glossaries/{id}Change a term list. Translations made with the earlier list are not reused.adminrivier language glossary update
DELETE/language/glossaries/{id}Remove a term list.adminrivier language glossary delete

text

MethodRouteWhat it doesLevelCommand
POST/language/translateTranslate up to 200 texts into one language, keeping placeholders and markup, with the project's term list. A translation already made for the same words is read back and costs nothing; the rest is held against the project's spending limits.writerivier language text translate
POST/language/detectFind the language of up to 50 texts.readrivier language text detect