GuideLanguages
The languages a guide is offered in and how far each is translated (list_languages, add_language).
Fields
- productIdstring · guide idrequired
The guide's id.
- originalstringrequired
The language the guide is written in, as a two-letter code (
update_guidelanguage). A guide is never offered as a translation into it. - totalnumberrequired
How many texts the guide has to translate: every text of the draft and of its sales pages, each once however often it is used. Archived spots, chapters, collections, hikes and properties are left out.
- languagesarray of objectsrequired
The languages the guide is offered in besides the one it is written in, English first, then German, French and Italian. Empty until one is added.
Show 4 fieldsHide fields
- langstringrequired
The language: en (English), de (German), fr (French) or it (Italian).
- livebooleanrequired
true when buyers can read the guide and its sales pages in this language.
set_language_liveturns it on or off, and so does the creator with Live on the studio's Languages page. While it is true, every translation saved shows to buyers at once. - translatednumberrequired
How many of the guide's texts have a translation in this language. Below total, texts are left:
list_untranslated_textsreturns them. It falls when the creator changes a text, which then has no translation until it is translated again. - updatedAtnumberrequired
When the language or one of its translations last changed (Unix time in milliseconds).
- canAddarray of stringsrequired
The languages
add_languagecan still add: en, de, fr and it without the one the guide is written in and the ones it has. - studioUrlstringrequired
The guide's Languages page in the studio, where the creator reviews the translations, turns Live on or off and removes a language.