Print Page | Close Window

Localize Dialog

Printed From: IdeaBlade
Category: Cocktail
Forum Name: Community Forum
Forum Discription: A professional application framework using Caliburn.Micro and DevForce
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3740
Printed Date: 12-Mar-2025 at 7:26pm


Topic: Localize Dialog
Posted By: Juergen
Subject: Localize Dialog
Date Posted: 25-Oct-2012 at 3:04am
Hi Marcel,

how can i localize the DialogWindow? I want to translate it into german language so I can see Ja, Nein, Abbrechen instead of Yes, No, Cancel.

Best regards,
Jürgen



Replies:
Posted By: mgood
Date Posted: 25-Oct-2012 at 11:01am
Juergen,
You have two options.
  1. Localize Cocktail. You can create your own satellite assembly with translated string resources. The English string resources are found in StringResources.resx. For how to create a satellite assembly, see the following link.

    http://msdn.microsoft.com/en-us/library/21a15yht%28v=vs.100%29.aspx - http://msdn.microsoft.com/en-us/library/21a15yht(v=vs.100).aspx

  2. If you don't want to go through the trouble of localizing Cocktail,  you can customize the buttons as documented here.

    http://drc.ideablade.com/devforce-2012/bin/view/Documentation/cocktail-dialog-manager#HCustomizingbuttons - http://drc.ideablade.com/devforce-2012/bin/view/Documentation/cocktail-dialog-manager#HCustomizingbuttons




Posted By: Juergen
Date Posted: 26-Oct-2012 at 1:12am
Option 2 works fine for me, thx.




Print Page | Close Window