473,386 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

C# - WPF localization at runtime

1
I'm developing an app using WPF, and have just started looking into localization. I have gotten the BAML localization solution working (with LocBaml and CSV files), but I'm a bit perplexed when it comes to translation of strings at runtime. For example, I am building a search window, and when a search is performed, I update a header to tell the user how many results were found. I can understand how the satellite assemblies are used to fill in localized values, but is there a way to define strings outside of the XAML, accessible in code, that will be compiled into the the locale-specific resource DLL? Obviously, I could use a .resx file, but I would prefer not to have to deal with translations in two places (satellite resource DLLs and .resx files).
Jun 29 '09 #1
0 2221

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Anne DeBlois | last post by:
Hi, I am about to order Visual Studio .NET. We work with the French Canadian version of Windows XP Professional. I don't know exactly how it works, but I have a question that may sound stupid,...
5
by: kuldeep | last post by:
Hi all, I have developed a application that supports localization in .net. It shows all the controls with english and hindi text depending on the culture selected. The application runs well on...
1
by: SDK | last post by:
Hello, I've written a little program in C# to test localization. It's one form with a label and a button. I've included two languages into my form (Dutch and English) using localization. In...
2
by: mike | last post by:
Hi People, I've found heaps of examples of how to localize C# apps from resource files at runtime, but the examples I've seen all seem to involve resources that are compiled in so that strings...
4
by: Tobin Harris | last post by:
Hi there, WARNING: Long-ish post! I'm about to undertake an ASP.NET project that requires localisation (2 languages initially, then more). I have read a little about localization, but have...
8
by: Olivier Matrot | last post by:
I encounter a problem with Localization features in ASP.NET 2.0. Is seems that the framework is not able to manage neutral cultures such as 'fr', or 'de'. Those are the culture sent by default from...
5
by: CMM | last post by:
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on everything... and of course, everything is explained in cursory softball terms- not any "real-world" usage way. I hope...
5
by: archana | last post by:
Hi all, I am having confusion regarding localization in .net. I have one form on which i have some labels and button. After designing that form what i did is set localization property of form...
0
by: shapper | last post by:
Hello, Sometime ago I followed an article (I believe MSDN) related with localization in Asp.Net 2.0. To make pages localization I create a class named Localization: 1 Public Class...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.