change editor language

Last post 05-16-2008, 4:25 AM by schuchut. 2 replies.
Sort Posts: Previous Next
  •  09-06-2006, 1:39 AM 22397

    change editor language

     i would like to change my editor's language or culture to es-MX
    but if i do this either manually in the control or through codebehind, nothing happens, everything still appears in english
     
    is there some language file i need to download or something i need to install?
     
    many thanks!
    cesar
  •  09-06-2006, 12:20 PM 22412 in reply to 22397

    Re: change editor language

    arkus_cesar,
     
    CuteEditor auto-detects IE's culture setting to decide what language to use. If developers need server side control, we also provide API to override the setting acquired from client browsers.
     
    To change editor's language or culture to es-MX, you should do:
     
    Editor1.CustomCulture = "es-MX";
     
    In this situation, CuteEditor expects your have the language file: es-MX.xml under folder CuteSoft_Client\CuteEditor\Languages. If this language doesn't exist, it will show default language instead.
     
    By default, we only include one spanish language file: es-ES.xml. Please create your own language file based on this file.
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

    Filed under:
  •  05-16-2008, 4:25 AM 40451 in reply to 22412

    Re: change editor language

    Hallo,
     
    I tried to create new language for icon tooltip in Cute Editor. I copy file _default.xml to cs-CS.xml in ..\CuteSoft_Client\CuteEditor\Languages and then I translate some tooltips in cs-CS.xml.
     
    When I use Editor1.CustomCulture = "cs-CS" now, I get ecxeption like "Name of language version cs-cs is not supported. Name of parametr: name" (It is translation from czech language) ;
     
    Where can be a problem?
     
    When I translate tooltips in some other xml (for example da-DK.xml) and I use Editor1.CustomCulture = "da-DK", I get czech tooltip for icons. But it is not right solution :-).
     
    Can You help me?
     
View as RSS news feed in XML