Posted 12 May 2020, 8:58 am EST
For context Menu language you could provide the context Menu information in localization object please refer to the following code snippet and sample which demonstrates the same
let lang = {
// localization config for context Menu
ContextMenu: {
clearContents: "Inhalte löschen",
copy: "Kopieren",
cut: "Schnap",
deleteColumns: "Löschen",
deleteComment: "Kommentar löschen",
deleteRows: "Löschen",
deleteSheet: "Löschen",
editComment: "Kommentar bearbeiten",
filter: "Filter",
hideColumns: "Verstecken",
hideRows: "Verstecken",
hideSheet: "Verstecken",
insertColumns: "Einfügen",
insertComment: "Kommentar einfügen",
insertRows: "Einfügen",
insertSheet: "Einfügen",
pasteAll: "Alle",
pasteFormatting: "Formatierung",
pasteFormula: "Formeln",
pasteFormulaFormatting: "Formel & Formatierung",
pasteOptions: "Einfügeoptionen:",
pasteValues: "Werte",
pasteValuesFormatting: "Werte & Formatierung",
removeFloatingObject: "Entfernen",
removeSlicer: "Entfernen",
slicerSortAscend: "Sortieren von A bis Z",
slicerSortDescend: "Sortieren von Z nach A",
sort: "Sortieren",
sortAscend: "Sortieren von A bis Z",
sortDescend: "Z nach A sortieren",
toggleComment: "Kommentar anzeigen / verbergen",
unhideColumns: "Einblenden",
unhideRows: "Einblenden",
unhideSheet: "Einblenden"
}
};
GC.Spread.Common.CultureManager.addCultureInfo("zh-tw", null, lang); //Add the language
GC.Spread.Common.CultureManager.culture("zh-tw");
Sample: https://codesandbox.io/s/elated-tereshkova-5pl5x?file=/src/index.js