made some changes for locales and ruby versions