/** Session locale */
protected String locale;
/** Default session locale */
- protected static String defaultLocale = "en_US";
+ protected static String defaultLocale = "en-US";
/**
* The thread is used to link messages to a given session.
return this.session_cache[app];
}
- OpenSRF.locale = dojo.config.locale || (dojo.isIE ? navigator.userLanguage : navigator.language).toLowerCase();
+ OpenSRF.locale = dojo.config.locale || dojo.isIE ? navigator.userLanguage : navigator.language;
}
class ClientSession(Session):
"""Client session object. Use this to make server requests."""
- def __init__(self, service, locale='en_US'):
+ def __init__(self, service, locale='en-US'):
# call superclass constructor
Session.__init__(self)