.net - Globalization in WPF without using LocBaml -


i need implement globalization feature in wpf application.i referred many forums suggesting use locbaml in msdn.i don't want use locbaml.we have own localization tool create satellite assemblies.

now have satellite assembly.how works in wpf framework.if take asp.net web application,we recommended deploy satellite assembly @ bin folder.if culture set,worker process loads localized string satellite assembly @ run time

whereas in wpf application not happening.i have deployed satellite assembly @ exe location.

resourcecheck.exe myapplication.resources.dll - default culture de-ch\myapplication.resources.dll - german culture 

i not seeing localized strings.i displaying string resource assembly in code.

<window x:class="resourcecheck.mainwindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"         xmlns:resources="clr-namespace:resourcecheck.resources;assembly=resourcecheck.resources"         title="mainwindow" height="350" width="525">     <window.resources>         <resources:stringresources x:key="resourcestrings"/>     </window.resources>     <grid>         <textblock text="{binding path=resources.helloworld, source={staticresource resourcekey=resourcestrings}}"/>     </grid> </window> 

please me

thanks in advance


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -