Merged in cedk/csb43 (pull request #1)
If locale.getdefaultlocale() does not return a language, languages variable is not defined before being used.
If locale.getdefaultlocale() does not return a language, languages variable is not defined before being used.