Language Issue contextmenus (Localisation, Globalisation)

Last post 11-05-2008, 11:20 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  11-05-2008, 3:53 AM 45403

    Language Issue contextmenus (Localisation, Globalisation)

    Hi Adam,
     
    here is an issue i need your help.
     i have a problem with the localisation ( translation) of the contextmenus in cuteeditor

    if i set Editor1.CustomCulture = "it-IT" i get italian cuteeditor (menu, tooltips,etc) but the contextmenu is allways german.

    so i looked round a bit and added it-IT as priority browser language...
    that did not work.
     
    next i tried to switch the Editor1.CultureType to CultureType.Client/ CultureType.Server but again the context menus are all in german?!
     

    thanks!
     
    ps. after selecting an option from the contextmenu the dialog appears in the correct language again.
     
    update: in the web.config globalisation is set as the following: <globalization uiCulture="de-DE" />
  •  11-05-2008, 4:33 AM 45406 in reply to 45403

    Re: Language Issue contextmenus (Localisation, Globalisation)

    im sorry,
     
    this issue occurs if you dynamically change Thread.Culture via
     
    Protected Overrides Sub InitializeCulture()
     
    this (ofcourse) only changes the cuture for the page.handler (aspx) and not for those you implemented to draw up the contextmenus.
     
    after moving the  programatic culture change from "InitialiseCulture" to "Application_PreRequestHandlerExecute" everything works fine.
     
    maybe this helps someone else...
  •  11-05-2008, 7:29 AM 45411 in reply to 45406

    Re: Language Issue contextmenus (Localisation, Globalisation)

    and again...
     
    i'm working with the localisation issue and it is really confusing:
     
    the situation is as follows:
     
    the application is running in a german thread  (c="de-DE")
    System.Threading.Thread.CurrentThread.CurrentUICulture = c
    System.Threading.Thread.CurrentThread.CurrentCulture = c
     
    if i set the following in the codebehind 
     
                    Editor1.CultureType = CuteEditor.CultureType.Server
                    Editor1.CustomCulture = "it-IT"

     
    ... the contextmenu stays in german; all the rest is italian?!
     
    can you help me?
     
     
    btw: the german languagefile "de-de.xml" is not translated completely.
    Do you have a complete translation file?
     
  •  11-05-2008, 11:20 AM 45431 in reply to 45411

    Re: Language Issue contextmenus (Localisation, Globalisation)

    We are investigating this issue and will get back to you as soon as possible.

    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

View as RSS news feed in XML