How to setting global Locale ?

  1. #1

    How to setting global Locale ?

    Hi,
    My project work on "zh_CN" language,and i know use this way to set current page
    <ext:ScriptManager ID="ScriptManager1" runat="server" Locale="zh_CN" />
    but i want to all pages are set locale to "zh_CN"
    how to do it?
  2. #2

    RE: How to setting global Locale ?

    The .Locale property is a Global property, so you can set any one of the following locations:

    1. ScriptManager

    <ext:ScriptManager Locale="zh_CN" />
    2. Application

    HttpContext.Current.Application["Coolite.Locale"] = "zh_CN"
    3. Session

    HttpContext.Current.Session["Coolite.Locale"] = "zh_CN"
    4. Web.config

    <coolite Locale="zh_CN" />
    More information on setting Global properties is available at the following location, see https://forums.ext.net/showthread.php?postid=29.aspx

    Hope this helps.
    Last edited by geoffrey.mcgill; May 26, 2021 at 10:18 PM.

Similar Threads

  1. Locale
    By flaviodamaia in forum 1.x Help
    Replies: 0
    Last Post: Jul 08, 2010, 12:25 PM
  2. Locale Greek!
    By tears in forum 1.x Help
    Replies: 0
    Last Post: Dec 03, 2009, 10:19 AM
  3. ??????????coolite?locale???? ??……
    By navy1020 in forum 1.x Help
    Replies: 10
    Last Post: May 05, 2009, 11:24 PM
  4. help ! scriptmanager with no locale protery
    By NETCRAZY in forum 1.x Help
    Replies: 1
    Last Post: Mar 23, 2009, 9:04 AM
  5. No ScriptManager1.Locale !
    By Nime in forum 1.x Help
    Replies: 1
    Last Post: Feb 04, 2009, 10:16 AM

Posting Permissions