// loads language files, also passes any error messages to the ui