Sha256: c2bf4958f3d3df3f189d41ff4e2308f5d97c24536fcf44a0400dbb07e8dbdfe2

Contents?: true

Size: 1.72 KB

Versions: 11

Compression:

Stored size: 1.72 KB

Contents

# Phrase::TranslationCreateParameters

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**branch** | **String** | specify the branch to use | [optional] 
**locale_id** | **String** | Locale. Can be the name or id of the locale. Preferred is id | [optional] 
**key_id** | **String** | Key | [optional] 
**content** | **String** | Translation content | [optional] 
**plural_suffix** | **String** | Plural suffix. Can be one of: zero, one, two, few, many, other. Must be specified if the key associated to the translation is pluralized. | [optional] 
**unverified** | **Boolean** | Indicates whether translation is unverified. Part of the <a href=\"https://support.phrase.com/hc/en-us/articles/5784094755484\" target=\"_blank\">Advanced Workflows</a> feature. | [optional] 
**excluded** | **Boolean** | Indicates whether translation is excluded. | [optional] 
**autotranslate** | **Boolean** | Indicates whether the translation should be auto-translated. Responses with status 422 if provided for translation within a non-default locale or the project does not have the Autopilot feature enabled. | [optional] 

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::TranslationCreateParameters.new(branch: my-feature-branch,
                                 locale_id: abcd1234cdef1234abcd1234cdef1234,
                                 key_id: abcd1234cdef1234abcd1234cdef1234,
                                 content: My translation,
                                 plural_suffix: null,
                                 unverified: null,
                                 excluded: null,
                                 autotranslate: null)
```


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
phrase-3.7.1 docs/TranslationCreateParameters.md
phrase-3.7.0 docs/TranslationCreateParameters.md
phrase-3.6.0 docs/TranslationCreateParameters.md
phrase-3.5.0 docs/TranslationCreateParameters.md
phrase-3.4.0 docs/TranslationCreateParameters.md
phrase-3.3.0 docs/TranslationCreateParameters.md
phrase-3.2.1 docs/TranslationCreateParameters.md
phrase-3.2.0 docs/TranslationCreateParameters.md
phrase-3.1.1 docs/TranslationCreateParameters.md
phrase-3.1.0 docs/TranslationCreateParameters.md
phrase-3.0.0 docs/TranslationCreateParameters.md