locked
SiteMaps and Globalization RRS feed

  • Question

  • User1447931844 posted

    Hello,

    I working on this small site where my site menu is taken from the a sitemap file, now what I’m trying to implement somehow is a way to read maybe a different sitemap or implementing globalization on this sitemap so when the language changes on my site the option on my menu are changed accordingly.

    Any suggestions?

    Wednesday, August 8, 2007 10:33 AM

Answers

  • User1191518856 posted

    How to: Localize Site-Map Data

    http://msdn.microsoft.com/en-US/library/ms178427(VS.80).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 8, 2007 1:16 PM
  • User764555827 posted

     

    Hi,

    You may also want to have a look at my tutorial:

    Tutorial: Localize a Web.sitemap file

    Hope this helps,

    Arnaud
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 8, 2007 4:33 PM

All replies

  • User1191518856 posted

    How to: Localize Site-Map Data

    http://msdn.microsoft.com/en-US/library/ms178427(VS.80).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 8, 2007 1:16 PM
  • User1447931844 posted

    Thank you very much!

    Wednesday, August 8, 2007 1:22 PM
  • User764555827 posted

     

    Hi,

    You may also want to have a look at my tutorial:

    Tutorial: Localize a Web.sitemap file

    Hope this helps,

    Arnaud
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 8, 2007 4:33 PM
  • User1447931844 posted

    thank you very much as well Arnaud, i'll take a look at it

    Wednesday, August 8, 2007 4:37 PM
  • User-1827596220 posted

    Hi Arnaud!

    Do you also know how I could set globalization with a treeview created by XML files? I've two languages (German, French). I want the treeview also to be changed if I switch language. Have a look to my existing code. This is the source for the XML file.

    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="menu/documents/documents_menu_de.xml"></asp:XmlDataSource>

    Now I think I have to replace the parameter in the DataFile and make an inquiry in the C# Code behind that checks which language is selected and then choose the right xml file. I am right?

    Thank you very much for help!! Andi

    Thursday, October 16, 2008 1:37 AM
  • User1195105825 posted

    Lots of forum mentioned problem with Menu not refreshing but all label translating ok eventhough InitializeCulture is set with a PageBase etc..., set the viewstate of the sitemap to false and menu will refresh too !

    Friday, May 28, 2010 5:05 PM