By Syabab on Wednesday, 22 November 2017
Posted in Technical Issues
Likes 0
Views 469
Votes 0
Hi,

How do we override custom field for page in multi-language site?

Example;
en-GB & ca-ES

Page Category;
Movie & Music

Custom Field for Movie;
en-GB = Movie Title
ca-ES = Títol De La Pel·lícula
Language Constant = COM_EASYSOCIAL_FIELDS_PAGE_TITLE

Custom Field for Music;
en-GB = Song Title
ca-ES = Cançó De Títol
Language Constant = COM_EASYSOCIAL_FIELDS_PAGE_TITLE


How do we make an override when the language is the same?

I get confuse very easy. Thanks for any help.
Hi Syabab,

I see what you mean here. You would like to have 2 different page category but the language constant is the same in the custom field.

If that is the case, you would have to specify different language constant in both of those categories(http://take.ms/mxhNA).

Then translate these 2 language constants in the language file/override.
·
Wednesday, 22 November 2017 16:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

It's how I did it before and the results is it only works at the backend.

I didn't know that we suppose to add it at frontend language as well.

Works well after add it at both frontend & backend language override.

Thanks.
·
Wednesday, 22 November 2017 17:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Syabab,

I see. Thanks for updating us on your issue and glad to know its working for you now.

Regards.
·
Wednesday, 22 November 2017 18:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post