- Issue created by @jurgenhaas
- πΊπΈUnited States zengenuity
I don't know if this is the "correct" way to do it, but I tried exporting the config of a template that had a translation and then mimicking the output in a custom module, and it appeared to work.
If you have a have a template such as:
module_name/config/install/easy_email.easy_email_type.test.yml
The Spanish translation config file would be:
module_name/config/install/language/es/easy_email.easy_email_type.test.yml
I found that it worked when I installed the module. Both the template and its Spanish translation were installed. Note that the translation configuration file is different from the main one. It only includes the translated fields.
- Status changed to Fixed
about 1 year ago 8:32am 18 March 2024 - π©πͺGermany jurgenhaas Gottmadingen
This is interesting, thanks a lot @zengenuity
Automatically closed - issue fixed for 2 weeks with no activity.