Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Apr 15, 2010 @ 13:44
    Jeroen Breuer
    0

    Frontend language

    Hello,

    I've created a website and on my local pc the dates are displayed in dutch, but after putting the website on a live server the dates are displayed in english. This happens because the language on my local pc is different from the language on the server, but I'd also like to display dutch dates on the live server. Does somebody know how I can do this in Umbraco?

    Jeroen

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Apr 15, 2010 @ 13:46
    Thomas Höhler
    0

    Add the globalization element into the system.web area of your web.config, eg for germany I added:

    <system.web>
    <globalization culture="de-DE" />

    hth, Thomas

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Apr 15, 2010 @ 14:06
    Peter Dijksterhuis
    1

    For Dutch that would be ofcourse

    <globalization culture="nl-NL" />

    :)

    Peter

  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Apr 15, 2010 @ 14:15
    Jeroen Breuer
    0

    Thanks both of you! Solved my problem :).

  • Kim Løwert 130 posts 116 karma points
    Aug 16, 2010 @ 11:38
    Kim Løwert
    0

    Hi Guys,

    Super post but it does not seem to solve the issues I'm having on a site. The default language is english and all values from the dictionary are by default taken from the english entries. I would like it to be taken from the danish values if nothing else is specified. I'm running v4.5.1 on .Net 4.0.

    I have added the specified line to the web.config file, but without the intended result. The values drawn from the dictionary are still english:

    <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" culture="da-DK"/>


    The line above is what I have added. Do any of you guys know what I may be missing?

    Thanks a lot in advance :)

    Cheers,

    Kim

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies