home recent topics recent posts search faq  

Schaudin.com Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » WPF Translation

For support issues and specific questions related to RC-WinTrans' use, features and functions.
|
28.02.2011 09:41:19

MichaelTR
MichaelTR
Posts: 15
Hello
I'm trying to translate a WPF program.

There are two options in RC-WinTrans:

1. Use the exe as a source.
This produces a .resources.dll file under a folder called after the choosen language (e.g. "en").
How can I choose this language at program startup?
I tried
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en");
Thread.CurrentThread.CurrentCulture = new CultureInfo("en");
in the construcor of the App to no avail.
Is there something else I have to do, or is there a sample available to use this method?

2. Use the xaml files as a source (this would be my preferred way, because I already use RC WinTrans to translate the resource files for C++ and Windows Forms apps).
This produces _en.xaml files for each source file.
How can I now integrate these files into my app?
 
BTW: I already took a look at the samples in WPFProjects folder. It's not possible to build these projects, because of missing files.
 
TIA Michael
0 permalink
|

Home » RC-WinTrans Support » WPF Translation





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software