Files
chill-bundles/resources/translation_override/README.md
Julien Fastré 4637dc692c Add OverrideTranslationCommand for generating customized translation catalogues
- Introduced a Symfony console command `chill:main:override_translation` to apply YAML-defined translation overrides.
- Added an example configuration file in `resources/translation_override/` to illustrate usage.
- Updated service definitions to register the new command.
2025-09-29 13:05:32 +02:00

490 B

In this directory, you find an example of file for the command chill:main:override_translation.

This file contains a list of translations to override in the translation catalogue. Each entry is a dictionary with two keys: from and to. The from key contains the original translation string, and the to key contains the replacement string.

The command chill:main:override_translation uses this file to generate a new translation catalogue with the specified overrides applied.