Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 3.63 KB

File metadata and controls

27 lines (22 loc) · 3.63 KB

LocaleDownloadCreateParameters

Properties

Name Type Description Notes
FileFormat string File format name. See the format guide for all supported file formats.
Branch string specify the branch to use [optional]
Tags string Limit results to keys tagged with a list of comma separated tag names. [optional]
IncludeEmptyTranslations bool Indicates whether keys without translations should be included in the output as well. [optional]
ExcludeEmptyZeroForms bool Indicates whether zero forms should be included when empty in pluralized keys. [optional]
IncludeTranslatedKeys bool Include translated keys in the locale file. Use in combination with include_empty_translations to obtain only untranslated keys. [optional]
KeepNotranslateTags bool Indicates whether [NOTRANSLATE] tags should be kept. [optional]
FormatOptions map[string]interface{} Additional formatting and render options. See the format guide for a list of options available for each format. Pass format options as a JSON object with key-value pairs corresponding to the option name and value. For example, to include comments in a Gettext file, pass `{"include_comments": true}`. [optional]
Encoding string Enforces a specific encoding on the file contents. Valid options are "UTF-8", "UTF-16" and "ISO-8859-1". [optional]
IncludeUnverifiedTranslations bool if set to false unverified translations are excluded [optional]
UseLastReviewedVersion bool If set to true the last reviewed version of a translation is used. This is only available if the review workflow is enabled for the project. [optional]
LocaleIds []string Locale IDs or locale names [optional]
FallbackLocaleId string If a key has no translation in the locale being downloaded, the translation in the fallback locale will be used. Provide the ID of the locale that should be used as the fallback. Requires `include_empty_translations` to be set to `true`. Mutually exclusive with `use_locale_fallback`. [optional]
UseLocaleFallback bool If a key has no translation in the locale being downloaded, the translation in the fallback locale will be used. Fallback locale is defined in locale's settings. Requires `include_empty_translations` to be set to `true`. Mutually exclusive with `fallback_locale_id`. [optional]
SourceLocaleId string Provides the source language of a corresponding job as the source language of the generated locale file. This parameter will be ignored unless used in combination with a `tag` parameter indicating a specific job. [optional]
CustomMetadataFilters map[string]interface{} Custom metadata filters. Provide the name of the metadata field and the value to filter by. Only keys with matching metadata will be included in the download. [optional]
UpdatedSince string Only include translations and keys that have been updated since the given date. The date must be in ISO 8601 format (e.g., `2023-01-01T00:00:00Z`). [optional]

[Back to Model list] [Back to API list] [Back to README]