Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Site Map Localization Key
chrishardie
Hi,
I'm trying to create a Site Map that will be used in a bilingual site. I see there is a Localization Key field when I create a site map node, but the documentation skips right by it without mention.
Anyone know how I use it?
Thanks,
Chris
Find more posts tagged with
Comments
kdr
Even I have the same query. Please reply if anyone has any idea
Rick Poulin
This doesn't do anything fancy OOTB. All it does is save whatever you put there into the sitemap XML, such that you have
[PHP]
My New Node
[/PHP]
(where "com.mycompany.hello" is the value I had put in the localization field). What this does is allow a custom sitemap external to execute additional code, like perhaps finding //label/
@key
and loading those values from a java resource bundle for the current locale. Or, if you're not using the localization framework (introduced after this existed), then you could use this field as country indicators to decide whether or not to show the node based on the web visitor's country.