Loads new locale
locale(locale);
locale string or path, name of the locale or path to the locale file

Description

The first parameter can be a string or a path to the file. If it is a string (ex: ru-ru) it is the name of the locale. It will attempt to load file from the /locale folder. If you want to load locale file from some other folder, you need to provide full path to it.
The method will perform sunchronous load of the locale, so it will pause until locale is loaded.
You can call in in the following way: