Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

multilingual field_labels in modeladmin / genericviews


Reply


2 Posts   1357 Views

Avatar
patte

Community Member, 63 Posts

21 September 2009 at 8:12pm

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

Avatar
Ingo

Forum Moderator, 801 Posts

27 September 2009 at 4:27pm

You'll have to overload the DataObject->fieldLabels() method (which by default takes $field_labels), and use _t() calls.