Special Characters in Expression Builder error
We want to translate the field value "To Date" to "Date d'expiration" in French, but it contains special character
To translate a field on system from English to french, the following code was used in Expression Builder via Page Composer:
#{facesContext.viewRoot.locale.language == 'en' ? 'To Date' : facesContext.viewRoot.locale.language == 'fr' ? 'Date d\' expiration' : row.bindings.ContentItemId.label}
However, on clicking on Apply button, we have this error
Is there a way to translate the field name "To Date" in french, including the used of special characters?