added ability to add a locale to an application