Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > How to localize webparts text setup? View modes: 
User avatar
Member
Member
guillaume.marquilly-tv5monde - 11/27/2012 10:31:14 PM
   
How to localize webparts text setup?

Hello,

I am trying to perfectly localize my website from english to french language.

On different pages, I use some webpart like statichtml, link etc...

Is there a way to localize for example the text label of my link depending on the selected culture? or the content of my statichtml webpart which contains sometime some hardcoded values?

Thank you for your advices,

User avatar
Kentico Support
Kentico Support
kentico_janh - 11/28/2012 1:19:55 AM
   
RE:How to localize webparts text setup?
Hello,

If you mean labels in web part properties, then these labels are defined directly for web parts (Site Manager -> Development -> Web parts ->Static text -> Properties -> Text) and place a in-line localization macro into the Field caption property like this:
{$=Text|cs-cz=Ahoj$}

For more information about localization macros pleas click on this link.

Best regards,
Jan Hermann

User avatar
Member
Member
guillaume.marquilly-tv5monde - 11/28/2012 2:25:16 AM
   
RE:How to localize webparts text setup?
Thank you! this macro works perfectly!