Hi I noticed there is this new loop in a DW Master template in v 8.7.2.8
GetLoop("WebsiteLanguages")
Im using it for the user to select a language and go to the homepage for the language version, as I guess it is intended.
This is not a website property Item type and seems to be built in to the DW .dll. We would like to be able to customize this to be able to localise the content dependent on which language version the user is currently on. So if Im a Dane on the danish language site I see engelsk, svensk etc.
Is this some kind of template extension? how would I go about this? Or a standard module/custom module?
Also for countries Select your countries with localised content. This data is already available in EcomCountyText table.
For Select your Language I dont see localised languages in the database, so I guess I will have to use Translations.xml to localise unless there exists in the database somewhere? This is not a happy solution because editor will need to remember to add if a new Language is added.
So I would like to end up with:
GetLoop("GlobalLanguages") - Localised
GetLoop("GlobalCountries") - Localised
I think there is a distinction between a Site in different Languages and sites for different countries (that just happen to be in a relevent language)
Any Pointers?