IRPCLanguagesAdmin.GetTranslations

View as Markdown

Administration API / specialized admin session idempotent

Gets the translatable names of the vault's metadata structure, with their texts in a source and a target language.

ServiceLanguage administration MFiles.IRPCLanguagesAdmin
gRPC method/MFiles.IRPCLanguagesAdmin/GetTranslations
HTTP (mf-http-grpc)POST /grpc/v1/get-translations
RequestGetTranslationsRequest
ResponseGetTranslationsResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: GetTranslationsRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
include_source_languageboolTrue to fill source_string and source_version.
source_languageint32The language of source_string, usually 0 (the default language). Used only with include_source_language.
include_target_languageboolTrue to fill target_string and state.
target_languageint32The language being translated to. Used only with include_target_language.
untranslated_onlyboolTrue to return only names whose target text is not translated yet. Requires include_target_language.

Response: GetTranslationsResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
values[]repeated TranslationThe translatable names. See Translation.
values[].idstringIdentifier.
values[].source_stringstringThe source string, or unset or an empty string.
values[].source_versionint32The version of the source string, or zero.
values[].target_stringstringThe target string, or unset or an empty string.
values[].stateTranslationStateThe state of the target string, or etsNotTranslated.Values: TRANSLATION_STATE_NOT_TRANSLATED (0), TRANSLATION_STATE_TRANSLATED (1).