Table of Contents

Globalization - set culture

Set culture on application level

<globalization
requestEncoding="utf8"
responseEncoding="utf8"
culture="cs-CZ"
uiCulture="cs-CZ"
/>

Set culture on web page level

In page directive.

<%@ Page UICulture="es" Culture="es-MX" %>

In code behind.

        Thread.CurrentThread.CurrentCulture = 
            CultureInfo.CreateSpecificCulture("cs-CZ");
        Thread.CurrentThread.CurrentUICulture = new 
            CultureInfo("cs-CZ");

Resources