Hi,
I want to print out the month names in a different language, than the default english.
Im printing it out like this:
@Umbraco.Content(item.Id).CreateDate.ToString("d. MMMM yyyy")
But it will display it like this:
- January 2016
 
I have tried doing this in my web.config file:
    <system.web>
       <globalization
         fileEncoding="utf-8"
         requestEncoding="utf-8"
         responseEncoding="utf-8"
         culture="da-DK"
         uiCulture="da-DK"
       />
    </system.web>
But it does not change the output.
Then i have tried doing this:
This works, so it reverts back to danish, but it seems like an odd way to change it. (what if it was a multilingual site?)
Isn’t there/shouldn’t there be a way of telling Umbraco which to use as default?
Or let it fall back on browser/web server defaults?
Best regards
Daniel
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/74861-changing-language-for-month-names
