Windows Vista Beta | WinVistaBeta.com - Message | WinFX Localization with XBAP is NOT working

January 06, 2009  
Subject: WinFX Localization with XBAP is NOT working
Group: microsoft.public.windows.developer.winfx.general
Date: 11/7/2006 10:43:48 PM
From: vipin.v.deep@gmail.com

Hi All:

We have an XBAP application that needs to be localized. We are using
standard WinfX tool "locbaml" to generate all the language DLL's and
placed them in respective folders. (say ko-KR for Korean etc).

Depending on the OS settings, we set the culture as follows:
String culture = "ko-KR";
CultureInfo ci = new CultureInfo(culture);
Thread.CurrentThread.CurrentUICulture = ci;
But, the Culture is not set as expected and UI always comes up in
ENGLISH (fallback culture). Looks like the path for locaized is not
getting resolved. But English DLL is picked without issues.

Please let me know if there is any way to specify the complete path of
resource DLL? This issue is happening with latest November release of
..Net 3.0 as well.

Thanks,
Vipin


Back