Sha256: 1c2c0a9f9f7aca26eef4bcb908ca25bf50b2cf367d29eaf8a8e4cc20b7c3e038

Contents?: true

Size: 1.6 KB

Versions: 5

Compression:

Stored size: 1.6 KB

Contents

common_atts: &common_atts
  # what language to support and their display names
  lang:
    en: 'English'
    # de: 'Deutch'

  # yaml imported translations created by translator email, usually User email 
  yaml_translator_identifier: 'coder@tc.com'

  # when import translation from yaml to db set it to accepted by default
  yaml2db_translations_accepted: true # default is false

  # when admins add/edit translations they are considered accepted directly
  accept_admin_translations: true 

  # identifier_type: 'email' # Uncomment and change the identifier if your User model has no email attribute

development:
  enabled: true # default false

  # Keys inspector allowed values:
  # "missing" to inspect only untranslated keys
  # "all" to enable inspector for translated and untranslated keys
  # "off" to turn off keys inspector
  inspector: 'missing' # default missing

  # I18n.translate source
  i18n_source: 'db' # can be db or yaml; default is yaml

  # when a new key is added to db, the value of the key is added as the default translation in English
  save_default_translation: true 

  <<: *common_atts

production:
  enabled: true # default false

  # Keys inspector allowed values:
  # "missing" to inspect only untranslated keys
  # "all" to enable inspector for translated and untranslated keys
  # "off" to turn off keys inspector
  inspector: 'off' # default missing

  # I18n.translate source
  i18n_source: 'yaml' # can be db or yaml; default is yaml

  # when a new key is added to db, the value of the key is added as the default translation in English
  save_default_translation: false 

  <<: *common_atts

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
translation_center-1.4.1 lib/generators/translation_center/install/templates/config/translation_center.yml
translation_center-1.4.0 lib/generators/translation_center/install/templates/config/translation_center.yml
translation_center-1.3.1 lib/generators/translation_center/install/templates/config/translation_center.yml
translation_center-1.3.0 lib/generators/translation_center/install/templates/config/translation_center.yml
translation_center-1.2.1 lib/generators/translation_center/install/templates/config/translation_center.yml