Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.42 KB

Translations.md

File metadata and controls

50 lines (37 loc) · 1.42 KB

Meritoo Common Bundle

Common & useful classes, resources, extensions. Based on Symfony framework.

Translations

Stored at

Located here: Resources/translations in yaml files, e.g. Resources/translations/actions.en.yaml.

Translation domains

Prefixed by meritoo_common. Grouped by translation domain:

  • actions, e.g. actions.en.yaml
  • questions, e.g. questions.en.yaml
  • titles, e.g. titles.en.yaml
  • validators, e.g. validators.en.yaml
  • words, e.g. words.en.yaml

Examples

{{ 'meritoo_common.version' | trans({}, 'words') }}
{{ 'meritoo_common.remember_me' | trans({}, 'actions') }}

More

  1. Configuration
  2. Dependency Injection Extension
  3. Descriptor of application
  4. Descriptor of bundle
  5. Descriptors of bundles
  6. Services:
  7. Tests
  8. Translations
  9. Twig extensions:

‹ Back to Readme