EntityFeature_I18n

A rule specifies internationalization.

Methods

(inner) feature(entity, options)

Initialize the feature

Source:
Parameters:
Name Type Description
entity Entity

Entity to apply this feature

options object

Tracking field options

  1. add locale suffix to field
  2. set a default locale
  3. if query with default locale, fallback to the field without suffix