Redwood Field label display based on preferred language
Summary:
Hi Everyone.
In Responsive personal details page we have an EL expression to display the gender differently based on language.
label = #{!(row.bindings.LegislationCode.attributeValue eq 'US')? (facesContext.viewRoot.locale.language == 'fr' ? 'Genre assigné à la naissance' : 'Gender Assigned at Birth'):'Gender'}
Can this be done in Redwood? with User Interface text we can replace entire string but can we write a condition based on the language as above?
Thanks,
Prabhakar
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
25A
Code Snippet (add any code snippets that support your topic, if applicable):