Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault
  • SkyVault 2.0 overview
  • SkyVault 2.0 video tutorials
  • Getting Started guides
  • Using SkyVault
  • Admin QuickStart
  • For Developers
    • Customizing Explorer and Share
    • Developing Applications and Extensions
      • Designing your application
      • SkyVault Repository
      • SkyVault Services
      • SkyVault Integration
      • Web Scripts
      • SkyVault Extensions
      • Share extensions
      • Maven SkyVault SDK
      • Programming with Surf
      • Content modeling
      • SkyVault 2.0 API
      • Scripting API
        • Root objects
        • ScriptNode API
        • Actions API
        • AVM API
        • Classification API
        • Logging API
        • People API
        • ScriptAction API
        • Search API
        • Session API
        • Utility methods
          • createPaging
          • disableRules
          • displayPath
          • enableRules
          • fromISO8601
          • getLocale
          • getNodeFromString
          • longQName
          • moduleInstalled
          • pad
          • setLocale
          • setServiceRegistry
          • setNodeService
          • shortQName
          • toBoolean
          • toISO8601(Date)
          • toISO8601(long)
      • Services API
  • SkyVault Public Java API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » For Developers » Developing Applications and Extensions » SkyVault API Reference » Repository JavaScript API » Scripting API » Utility methods

    getLocale

    getLocale returns the locale string for the current thread.

    Returns

    Returns the locale string for the current thread.

    Example

            var localeString = utils.getLocale();
          

    The preceding code snippet would return a locale string such as en_US.

    Parent topic: Utility methods

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter