Hi,
can anyone please give me a tip howto use multilingual $field_labels within modeladmin? I am building a website using genericviews and I searching for a way to use translated field_labels.
Any idea?
Thanks much
Patte
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi,
can anyone please give me a tip howto use multilingual $field_labels within modeladmin? I am building a website using genericviews and I searching for a way to use translated field_labels.
Any idea?
Thanks much
Patte
You'll have to overload the DataObject->fieldLabels() method (which by default takes $field_labels), and use _t() calls.