Use a more precise path fot i18n load_path to avoid loading other yaml
file on components.
On a project I created an image component to easily generate an html picture tag. And so I also create a formats.yml to store my images formats I want to use.
And so with the current path used for i18n.load_path, my formats.yml file is loaded with locale files.
I do this update on my app and it seems good enough.
Use a more precise path fot i18n load_path to avoid loading other yaml file on components.
On a project I created an
image
component to easily generate an htmlpicture
tag. And so I also create aformats.yml
to store my images formats I want to use. And so with the current path used fori18n.load_path
, myformats.yml
file is loaded with locale files.I do this update on my app and it seems good enough.