Add support for new i18n `locales` directory.