setLocale before loading any storage js file