Hi all,
This is a first step to see if upstream is OK to go that route.
The idea here is to provide a simple way for external modules to provide translations for workflow entries and extrafields.
For workflow, the approach is fairly simple since we know from which module it comes.
For extrafields, I structured the translation token just like pictos and other module parts in the form of "address@hidden" to provide that information.
The module developer has then to just provide respectively workflow.lang or extrafields.lang to have the translation automagically loaded.
Please let me know if this strategy is OK or if you have a better one.
Cheers,
--
Raphaël Doursenaud
Directeur technique (CTO)
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10