Skip to Content | Skip to Navigation


dojo.i18n

Project owner:Adam Peller
Available:since V1.0

Utility classes to enable loading of resources for internationalization.

Used exclusively with dojo.requireLocalization.

Usage

dojo.i18n.getLocalization gets a reference to an Object with localized strings, as loaded by dojo.requireLocalization()

1
2
3
4
<script type="text/javascript">
 var validate = dojo.i18n.getLocalization("dijit.form", "validate");
 console.log(validate.invalidMessage);
</script>