Fixed lang filename.
Made lang and formatDate methods independent of the previously set language.
Fixed local regex.