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.

15 operations

text

MethodRouteWhat it doesLevelCommand
POST/language/checkCheck translations mechanically, for any language: written in the language's script, the same placeholders, markup and numbers as the source, and plurals kept. Nothing is kept; numbers and an unchanged string are advisory.readrivier language text check
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

review

MethodRouteWhat it doesLevelCommand
POST/language/reviewsSend translations to the project's review queue for a reader of the language. Each is checked on arrival; a new version of a waiting string replaces it.writerivier language review submit
GET/language/reviewsThe review queue: strings waiting for a reader, and those approved, corrected or rejected, with their check results.readrivier language review list
GET/language/reviews/approvedA language's decided strings, by key: as approved, or as corrected by the reader.readrivier language review approved
POST/language/reviews/{id}/decisionApprove a waiting string, write its correction (which must pass the check) or reject it. A person only.writerivier language review decide

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