We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Language don't work

Thread ID:

Created:

Updated:

Platform:

Replies:

124310 May 31,2016 07:16 AM Jun 1,2016 01:20 AM JavaScript 1
loading
Tags: ejDiagram
David
Asked On May 31, 2016 07:16 AM

hi,

i try set my language diagram but i have an error:

ej.web.all.min.js:10 Uncaught TypeError: Cannot read property 'cut' of undefined



look: http://jsplayground.syncfusion.com/cggent50

culture js:

<script src="http://cdn.syncfusion.com/14.1.0.41/js/cultures/ej.culture.es-ES.min.js" ></script>


Version: 14.

Thanks!

Shyam G [Syncfusion]
Replied On June 1, 2016 01:20 AM

Hi David, 

You need to define the textual description of the context menu items for your custom cultures. We have modified your JSPlayground and provided below. 

Code example: 
<!--Defines the context menu items with spanish language--> 
ej.datavisualization.Diagram.Locale["es-ES"] = { 
                     cut: "Corte", 
                                 copy: "Copia", 
                                 paste: "Pasta", 
                                 undo: "Deshacer", 
                                 redo: "Rehacer", 
                                 selectAll: "Seleccionar todo", 
                                 grouping: "Agrupación", 
                                 group: "Grupo", 
                                 ungroup: "Desagrupar", 
                                 order: "Fin", 
                                 bringToFront: "Traer a delante", 
                                 moveForward: "Movimiento adelante", 
                                 sendToBack: "Enviar a espalda", 
                                 sendBackward: "Enviar hacia atrás" 
                  }; 



Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;