Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/i18n.js

  • dojo.i18n

    • summary
      Utility classes to enable loading of resources for internationalization (i18n)
    • type
      Object
  • dojo.i18n.getLocalization

    • type
      Function
  • dojo.i18n.normalizeLocale

    • parameters:
      • locale: (typeof String)
    • returns
      String
    • summary
      Returns canonical form of locale, as used by Dojo.
    • description
      All variants are case-insensitive and are separated by '-' as specified in [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt).
      If no locale is specified, the dojo.locale is returned.  dojo.locale is defined by
      the user agent's locale unless overridden by djConfig.
    • type
      Function
  • dojo.i18n._requireLocalization

    • parameters:
      • moduleName: (typeof String)
      • bundleName: (typeof String)
      • locale: (typeof String)
      • availableFlatLocales: (typeof String)
      • m
      • b
    • summary
      See dojo.requireLocalization()
    • description
      Called by the bootstrap, but factored out so that it is only
      included in the build when needed.
    • alias - dojo.i18n._requireLocalization
    • type
      Function
  • dojo.i18n._searchLocalePath

    • parameters:
      • locale: (typeof String)
      • down: (typeof Boolean)
      • searchFunc: (typeof Function)
    • summary
      A helper method to assist in searching for locale-based resources.
      Will iterate through the variants of a particular locale, either up
      or down, executing a callback function.  For example, "en-us" and
      true will try "en-us" followed by "en" and finally "ROOT".
    • type
      Function
  • dojo.i18n._preloadLocalizations

    • parameters:
      • bundlePrefix: (typeof String)
      • localesGenerated: (typeof Array)
    • summary
      Load built, flattened resource bundles, if available for all
      locales used in the page. Only called by built layer files.
    • type
      Function
  • dojo.config.extraLocale

    • type
      Array