function updateLocales(i18nKeys, locales, namespace, pattern, sort) {
	locales.forEach(locale => {
		updateLocale(i18nKeys, locale, namespace, pattern, sort);
	});
}
/**
 * updateLocales - update the locales for all languages used in the project
 *
 * @param  {Map} i18nKeys        key/value used in the projets
 * @param  {string} locale       current locale
 * @param  {string} namespace    current namespace
 * @param  {string} pattern      pattern to get the locale

 */
update the locales for all languages used in the project
@param  {Map} i18nKeys        key/value used in the projets
@param  {string} locale       current locale
@param  {string} namespace    current namespace
@param  {string} pattern      pattern to get the locale
update the locales for all languages used in the project @param { Map } i18nKeys key / value used in the projets @param { string } locale current locale @param { string } namespace current namespace @param { string } pattern pattern to get the locale
function updateLocales(i18nKeys, locales, namespace, pattern, sort) {
	locales.forEach(locale => {
		updateLocale(i18nKeys, locale, namespace, pattern, sort);
	});
}
function updateLocales ( i18nKeys , locales , namespace , pattern , sort ) { locales . forEach ( locale => { updateLocale ( i18nKeys , locale , namespace , pattern , sort ) ; } ) ; }
updateLocales - update the locales for all languages used in the project
 @param  {Map} i18nKeys        key/value used in the projets
 @param  {string} locale       current locale
 @param  {string} namespace    current namespace
 @param  {string} pattern      pattern to get the locale
updateLocales - update the locales for all languages used in the project @param { Map } i18nKeys key / value used in the projets @param { string } locale current locale @param { string } namespace current namespace @param { string } pattern pattern to get the locale