Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.21 KB

Locale.md

File metadata and controls

37 lines (30 loc) · 1.21 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]
source_locale LocalePreview [optional]
fallback_locale LocalePreview [optional]
created_at Time [optional]
updated_at Time [optional]

Code Sample

require 'Phrase'

instance = Phrase::Locale.new(id: null,
                                 name: null,
                                 code: null,
                                 default: null,
                                 main: null,
                                 rtl: null,
                                 plural_forms: null,
                                 source_locale: null,
                                 fallback_locale: null,
                                 created_at: null,
                                 updated_at: null)