...
The folder to store the i18n config files is here : datafari/WebContent/js/AjaxFranceLabs/locale. Just open it and add your new language. For example if you add German translation, put here a file named de.json.
Also add a new entry in all the i18n files corresponding to your new language. For example to add Spanish language, we added the following entry in all the i18n files :Code Block "es_locale" : "Español"
Add the new langage in the Java class com.francelabs.datafari.utils.LanguageUtils.java :
Code Block public static final List<String> availableLanguages = Arrays.asList("en", "fr", "it", "ar", "ru");
Add the new language in WebContent/js/AjaxFranceLabs/i18njs.js :
Code Block availableLanguages : [ 'en', 'fr', 'it', 'ar', 'ru' ],
OPTIONAL : if you use For Datafari Enterprise Edition , only : create a file with the new language : LOCALE.json , for example es.json into the folder /opt/datafari/tomcat/webapps/Datafari/customs/i18n
Add this content into it :Code Block {}
Finally launch the ant script datafari-dev.xml to take into Datafari the modifications (if you are in development mode).
...