Phrase::LocaleUpdateParameters
Name
Type
Description
Notes
branch
String
specify the branch to use
[optional]
name
String
Locale name
[optional]
code
String
Locale ISO code
[optional]
default
Boolean
Indicates whether locale is the default locale. If set to true, the previous default locale the project is no longer the default locale.
[optional]
main
Boolean
Indicates whether locale is a main locale. Main locales are part of the <a href="https://support.phrase.com/hc/en-us/articles/5784094755484\ " target="_blank">Verification System</a> feature.
[optional]
rtl
Boolean
Indicates whether locale is a RTL (Right-to-Left) locale.
[optional]
source_locale_id
String
Source locale. Can be the name or id of the locale. Preferred is id.
[optional]
fallback_locale_id
String
Fallback locale for empty translations. Can be a locale name or id.
[optional]
unverify_new_translations
Boolean
Indicates that new translations for this locale should be marked as unverified. Part of the <a href="https://support.phrase.com/hc/en-us/articles/5784094755484\ " target="_blank">Advanced Workflows</a> feature.
[optional]
unverify_updated_translations
Boolean
Indicates that updated translations for this locale should be marked as unverified. Part of the <a href="https://support.phrase.com/hc/en-us/articles/5784094755484\ " target="_blank">Advanced Workflows</a> feature.
[optional]
autotranslate
Boolean
If set, translations for this locale will be fetched automatically, right after creation.
[optional]
require 'Phrase'
instance = Phrase ::LocaleUpdateParameters . new ( branch : my -feature -branch ,
name : de ,
code : de -DE ,
default : null ,
main : null ,
rtl : null ,
source_locale_id : abcd1234abcd1234abcd1234abcd1234 ,
fallback_locale_id : abcd1234abcd1234abcd1234abcd1234 ,
unverify_new_translations : null ,
unverify_updated_translations : null ,
autotranslate : null )