Fixed locale determining for standalone version and new translate.js (determinedLocale returns undefined)