Hi Camila,
We have created a sample to apply localizations for context
menu. We have created a sample to show context menu with multi language. By
using the localization we can able to show context menu with multi
language. In the sample we have displayed context menu items with german
culture. So based on your language you can change the context menu items.
Please refer to the below code snippet and sample
|
setCulture('de-DE');
/**
*
Default FlowShape sample
*/
L10n.load({
'de-DE':
{
'diagram':
{
"Copy":
"Kopieren",
"Cut":
"Ausschneiden",
"Paste":
"Einfügen",
"Undo":
"Rückgängig machen",
"Redo":
"Redo",
"SelectAll":
"Wählen Sie Alle",
"Grouping":
"Gruppierung",
"Group":
"Gruppe",
"UnGroup":
"Gruppierung aufheben",
"Order":
"Bestellung",
"BringToFront":
"Nach vorne bringen",
"MoveForward":
"Vorwärts bewegen",
"SendToBack":
"An Zurück senden",
"SendBackward":
"Rückwärts senden"
},
}
});
|
Sample: https://stackblitz.com/edit/angular-wrouzn?file=app.component.ts
For more information about how to use localization, please
refer to the below UG link
UG link: https://ej2.syncfusion.com/angular/documentation/common/globalization/localization/#changing-current-locale
Regards
Aravind Ravi