IRPCLanguagesAdmin.ApplyTranslations

View as Markdown

Administration API / specialized admin session idempotent

Stores translated names in a target language.

ServiceLanguage administration MFiles.IRPCLanguagesAdmin
gRPC method/MFiles.IRPCLanguagesAdmin/ApplyTranslations
HTTP (mf-http-grpc)POST /grpc/v1/apply-translations
RequestApplyTranslationsRequest
ResponseApplyTranslationsResponse
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: ApplyTranslationsRequest

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

FieldTypeDescription
target_languageint32The language the translations are for.
ptranslations[]repeated TranslationThe translations, as returned by GetTranslations with target_string and state filled in.
ptranslations[].idstringIdentifier.
ptranslations[].source_stringstringThe source string, or unset or an empty string.
ptranslations[].source_versionint32The version of the source string, or zero.
ptranslations[].target_stringstringThe target string, or unset or an empty string.
ptranslations[].stateTranslationStateThe state of the target string, or etsNotTranslated.Values: TRANSLATION_STATE_NOT_TRANSLATED (0), TRANSLATION_STATE_TRANSLATED (1).
apply_translated_onlyboolTrue to store only the entries whose state is TRANSLATION_STATE_TRANSLATED.

Response: ApplyTranslationsResponse

No fields.