Skip to Content | Skip to Navigation


dojo.locale

Status:Draft
Version:1.0
Project owner:?–
Available:since V?

A string containing the current locale as defined by Dojo.

Introduction

dojo.locale contains the locale for loading localized resources, specified according to RFC 3066. This string can be specified with the help of djConfig.locale.

Usage

A simple call of dojo.locale.

<script type="text/javascript">
  var currentLocale = dojo.locale;
</script>

See also

  • Language and Localization Settings in djConfig