Function setLang

Sets the current language.

  • Parameters

    • newLang: string

      The new language to set.

    Returns boolean

    True if set correctly, false otherwise.