function parseSettings(i18next, settings, locale) {
	const clonedSettings = cloneDeep(settings);
	i18next.changeLanguage(locale);
	jsonpath
		.paths(clonedSettings, JSON_PATH_EXPRESSION)
		.forEach(jsonpaths => setTranslate(i18next, clonedSettings, jsonpaths));

	return clonedSettings;
}
/**
 * parseSettings - parse settings and apply the locale on it
 *
 * @param  {object} i18next  i18n instance
 * @param  {type} settings   settings to translate
 * @param  {string} locale   locale to apply
 * @return {object}          translated settings
 */
parse settings and apply the locale on it
@param  {object} i18next  i18n instance
@param  {type} settings   settings to translate
@param  {string} locale   locale to apply
@return {object}          translated settings
parse settings and apply the locale on it @param { object } i18next i18n instance @param { type } settings settings to translate @param { string } locale locale to apply @return { object } translated settings
function parseSettings(i18next, settings, locale) {
	const clonedSettings = cloneDeep(settings);
	i18next.changeLanguage(locale);
	jsonpath
		.paths(clonedSettings, JSON_PATH_EXPRESSION)
		.forEach(jsonpaths => setTranslate(i18next, clonedSettings, jsonpaths));
	return clonedSettings;
}
function parseSettings ( i18next , settings , locale ) { const clonedSettings = cloneDeep ( settings ) ; i18next . changeLanguage ( locale ) ; jsonpath . paths ( clonedSettings , JSON_PATH_EXPRESSION ) . forEach ( jsonpaths => setTranslate ( i18next , clonedSettings , jsonpaths ) ) ; return clonedSettings ; }
parseSettings - parse settings and apply the locale on it
 @param  {object} i18next  i18n instance
 @param  {type} settings   settings to translate
 @param  {string} locale   locale to apply
 @return {object}          translated settings
parseSettings - parse settings and apply the locale on it @param { object } i18next i18n instance @param { type } settings settings to translate @param { string } locale locale to apply @return { object } translated settings