Multi-Language Support using XML Datasource?

Last post 07-05-2009 11:33 PM by Nai-Dong Jin - MSFT. 1 replies.

Sort Posts:

  • Multi-Language Support using XML Datasource?

    07-01-2009, 11:13 PM
    • Member
      59 point Member
    • rock056
    • Member since 04-03-2006, 11:51 AM
    • Posts 177

     I am hoping someone could point me in the right direction with creating a muti-language site which uses XML as its datasource.  I am clear on the use of the resource files for controls and other static items for the language support. However, what is the ideal method in selecting which XML file to use for the data content of the selected language?

    Any assistance in resolving or understanding this issue would be greatly appreciated.

    Thank you.

  • Re: Multi-Language Support using XML Datasource?

    07-05-2009, 11:33 PM
    Answer

    Hi,

    I'm not sure  if I've misunderstood your problem. You mentioned that you have a XML document as your datasource, right? Is different language content predefined in that xml document? And the content has no relationship to the controls you defined on the page, right?

    If so, I'm afraid that what you can do is just to write the logic in your page by yourself, read the document from that xml file, and show different language content accroding to the current culture status.

    If the contents do have relationship to your controls, I think you need to convert your xml file to XSD format, so that you can build the resource file manually.

    Thanks.

    Michael Jin.
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (2 items)