Refactor: renamed defaultLang to locale. Added a getter for locale.

Added the ability to get the current locale (formerly named defaultLang)