in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Changing Culture

Last post 10/5/2007 3:38 AM by Selcuk AYDIN. 4 replies.
Page 1 of 1 (5 items)
Sort Posts:
Previous Next
  • 10/4/2007 7:04 AM

    Changing Culture

    Hi,

    I want to change my application form's visible captions to other langueges for example

    When I run the application on my MainForm and other DetailForms... actions and toolbars captions (File, Edit, View, Tools, New, Delete, Save all the things like those.) seems in English but I want to see them in German or other languages.

    For that I m following this method;

    Edit Model > Culture > Culture Manger  then adding de (German) then

    for Edit Model > Application > PreferredCultureName selecting de

    after these I m saving the Model Editor for these changes then running my application. But all the Actions and other things captions labels

    seeming in English Language, there is no changing.

    How can I change these captions' language with model editor or other methods.

     

  • 10/4/2007 7:48 AM In reply to

    Re: Changing Culture

    Hi Selcuk

    Just edit the Model and on the Application node change the PreferredCultureName. Otherwise the culture will automatically change to that in use on the machine.

  • 10/4/2007 10:29 AM In reply to

    Re: Changing Culture

    Hi Mr.Batibol

    But I have just made this. But all the forms' which are automatic creates by XAF, languages seems again in english but ı want to change these automatically. for example I dont want to see buttons caption in english language which are created by XAF Save,New ... File or Tool I want to see them in other languages. 

  • 10/4/2007 4:13 PM In reply to

    Re: Changing Culture

    Hi Selcuk

    Not sure quite where you are at but using the Model Editor, you need to add a new locale and then translate ALL captions/messages etc. to your specified language. Save the Model and off you go. If your locale is not set to the locale you have just created then change the attribute in the Model Node I mentioned earlier. It does all work, I have tried it very successfully.

  • 10/5/2007 3:38 AM In reply to

    Re: Changing Culture

    Hi Mr.Batibol,

    Thank you for your interest but I tried all of these and now there is no changing all the caption seems in english too. Not other languages.

     

    Filed under:
Page 1 of 1 (5 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED