mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
- 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.
490 B
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.