EmumStrings are an awesome feature of Hobo for a set of constants for select-options, that should be localized (gender, titles, types,...).
I didn't understand how to translate Hobo EnumStrings (I believe I saw other things on Hobocentral).
My thanks go to Iox, who helped me figure it out.
The most tricky part for me is the key:
contentelement/markups:
in the .yml file
- The Model class is named ContentElement (so neither ContentElement nor content_elements is right here)
- The attribute is named markup and it has to be pluralized.
- The EnumString instance is named MarkupType but it is irrelevant for translation.
+1, thanks for sharing :)