ChemPal Documentation - v1.6.0
    Preparing search index...

    Function getLocale

    • The currently-active locale code that i18n resolves against.

      Returns string

      The active locale code, e.g. "en".

      getLocale(); // => "en"
      
      export function getLocale(): string {
      return currentLocale;
      }