Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 2.4 KB

File metadata and controls

47 lines (40 loc) · 2.4 KB

Phrase::Locale

Properties

Name Type Description Notes
id String [optional]
name String [optional]
code String [optional]
default Boolean [optional]
main Boolean [optional]
rtl Boolean [optional]
plural_forms Array<String> [optional]
ordinal_plural_forms Array<String> [optional]
source_locale LocalePreview [optional]
fallback_locale LocalePreview [optional]
language_ai_profile String [optional]
unverify_new_translations Boolean Indicates that new translations for this locale are marked as unverified. Only applies to locales using the basic verification workflow. Part of the Advanced Workflows feature. [optional]
unverify_updated_translations Boolean Indicates that updated translations for this locale are marked as unverified. Only applies to locales using the basic verification workflow. Part of the Advanced Workflows feature. [optional]
unverify_on_source_changes Boolean Indicates that translations for this locale are marked as unverified when the source language has been changed. [optional]
created_at Time [optional]
updated_at Time [optional]

Code Sample

require 'phrase'

instance = Phrase::Locale.new(id: nil,
                                 name: nil,
                                 code: nil,
                                 default: nil,
                                 main: nil,
                                 rtl: nil,
                                 plural_forms: nil,
                                 ordinal_plural_forms: nil,
                                 source_locale: nil,
                                 fallback_locale: nil,
                                 language_ai_profile: nil,
                                 unverify_new_translations: nil,
                                 unverify_updated_translations: nil,
                                 unverify_on_source_changes: nil,
                                 created_at: nil,
                                 updated_at: nil)