Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: How change Localization with custom design?

  1. #1
    kernel64 is offline Member
    Join Date
    Mar 2009
    Posts
    45

    Default How change Localization with custom design?

    Hello, i have my own skin with language ImageButtons, now i want to klick on these image and change the localisation of the system. How to set the localization, is it in codebehind? Can you give a example?

    The default country select is (!COUNTRYSELECTLIST!)

    How to set it with my buttons?

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    One easy way would be setting it via querystring, just put the link below in the button code-behind.

    e.g.
    Code:
    http://yoursite.com/setlocale.aspx?localesetting=en-US
    Last edited by ASPAlfred; 05-26-2009 at 07:51 AM.

  3. #3
    kernel64 is offline Member
    Join Date
    Mar 2009
    Posts
    45

    Default

    Thx, and how to set this in the codebehind, is there a function??

    What ist the currency parameter for currencysetting -> en-US, de-DE, fr-FR ??
    Last edited by kernel64; 05-26-2009 at 06:53 AM.

  4. #4
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    try something like this:

    Code:
    <a href="setlocale.aspx?localesetting=en-US">United States</a>