Hello,
I searched around a lot and found no answer that works. I found this Thread https://wisej.com/support/question/how-localization-widget-syncfusion-javascript-querybuilder-control but the links don’t work properly.
I found this https://docs.wisej.com/extensions/premium-extensions/configuration#localization but executing it throws an exception.
adding “locale”=”de” or “de-DE” to the json (kanban options) does nothing.
This seems to be the solution in the demos, but I don’t really understand it. https://github.com/iceteagroup/wisej-demobrowser/blob/main/Wisej.DemoBrowser.Premium/Wisej.Web.Ext.Syncfusion2.Demo/Syncfusion2/localization-de-DE.js
ej.base.L10n.load({ 'de-DE': { 'kanban': { "items": "Aufgaben", "min": "Min", "max": "Max", "cardsSelected": "Aufgaben ausgewählt", "addTitle": "Neue Aufgabe hinzufügen", "editTitle": "Aufgabendetails bearbeiten", "deleteTitle": "Aufgabe löschen", "deleteContent": "Möchten Sie diese Aufgabe wirklich löschen?", "save": "Speichern", "delete": "Löschen", "cancel": "Abbrechen", "yes": "Ja", "no": "Nein", "close": "Schließen", "noCard": "Keine Aufgaben", "unassigned": "Nicht zugewiesen" } } });
Hi Alaa,
I’m still doing something wrong. I added this to the config file “localization.js”: “Syncfusion2/localization-%culture%.js”
Is that a file/path I have to provide myself?
executing ej2Base.Culture = new CultureInfo(“de-DE”); still throws an exception (see screenshot)
Hi Sascha,
The solution you found in the demo basically loads all the relevant JSON files that correspond to the de-DE Culture.
Check https://github.com/iceteagroup/wisej-demobrowser/blob/main/Wisej.DemoBrowser.Premium/Wisej.Web.Ext.Syncfusion2.Demo/Syncfusion2/cldr-data/de-DE/localeText.json as an example of it!
But in order to load it, you’ll have to add the localization package to your Wisej.Ext.Syncfusion2.json configuration file like the one here: https://github.com/iceteagroup/wisej-demobrowser/blob/main/Wisej.DemoBrowser.Premium/Wisej.Web.Ext.Syncfusion2.Demo/Wisej.Web.Ext.Syncfusion2.json
You can simply pull the files from the demo repository and add them to your project, just make sure that you specify the Culture by using ej2base.Culture = ej2Base.Culture = new CultureInfo(“de-DE”);
HTH,
Alaa
Please login first to submit.