Locale unique par DButton ?

If I have multiple DButtons being displayed in an each ... in loop, is there a way to have unique locales for each button label and title in my en.yml? Or is the way to make a setting for the button label and title per button and use translatedLabel and translatedTitle a better option? I’m using type: objects for the settings, btw.

You could add the button index as part of the locale key. But that won’t guarantee that you would have a value for each key, you could use a fallback I guess.

1 « J'aime »