I have a multilingual website where i need to check the culture info to display a piece of text. I somehow cant use dictionary items here since the translation is somehow very different.
For example if language is set to EN i will display @pageName "highlights" and if FR "Prestations" and value of @pageName.
Thanks for the reply. As a fast solution to fix my problem i instead make a test so as to display a certain text for all the ancestors of the Domain by using the id.
Not best solution, but with a 2 language website it does the job quiet well specially when having to display dictionary items in a different order.
Culture Info
Hi Guys,
I have a multilingual website where i need to check the culture info to display a piece of text. I somehow cant use dictionary items here since the translation is somehow very different.
For example if language is set to EN i will display @pageName "highlights" and if FR "Prestations" and value of @pageName.
Any suggestions most welcome on how to proceed?
//fuji
Take a look at ucomponents CMS XSLT Extension. It has a load of Language methods in there. GetLanguageIdByNodeId might be of use to you?
http://ucomponents.codeplex.com/wikipage?title=CMS&referringTitle=Documentation
Pete
Hi Peter,
Thanks for the reply. As a fast solution to fix my problem i instead make a test so as to display a certain text for all the ancestors of the Domain by using the id.
Not best solution, but with a 2 language website it does the job quiet well specially when having to display dictionary items in a different order.
But eventually will need to give uComponents a go.
//fuji
is working on a reply...