Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Switch website title depending on the culture View modes: 
User avatar
Member
Member
gliker-inorbital - 3/31/2011 12:55:14 PM
   
Switch website title depending on the culture
Hi guys,

Maybe I'm missing something obvious but I can't find the way to change website title depending on the culture. Everything works fine for page names.
Let's say my website name is "Apple" and that's OK in English. Now, we have also French culture added and we would like to change <title> tag to read "Pomme" for our French visitors. How we can do this?

Thanks

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 4/4/2011 4:32:25 AM
   
RE:Switch website title depending on the culture
Hello,

You can take advantage of the localization macros.

In your case, please firstly define the Site Display Name option within: Site Manager -> Sites -> Edit -> General tab. It can look like this (as an example):
{$|en-Us=Corporate Site|cs-CZ=Web společnosti$}

Afterwards, you'll use the following context macro: {%SiteDisplayName%} in Site Manager -> Settings -> Your_Site -> Web site -> Page title prefix/format.

This should enforce your culture specific display name appears in the page title.

Best regards
Ondrej Vasil