473,395 Members | 1,348 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,395 software developers and data experts.

Localization of Programmatic Strings

Hello everyone,

I was reading an article on MSDN about localizing objects on Windows forms,
however it didn't cover localization of programmed strings. For example, how
would I go about localizing an error message for a message box if the
message box is created from my own code rather than from an actual form?

In Cocoa under OS X, you would create a very simple XML-style file with
translations of different strings in it, and then call a system-defined
method with the text to be translated and the default if no translation was
found. The OS would then do the rest for you, returning the correct form of
the string based on the operating system's lingual settings. Is there any
equivilent to this in .NET? I looked through the System.Globalization
namespace docs, but they didn't provide any clues of ways to localize
programmed string literals.

TIA,
Marc W.
Nov 15 '05 #1
0 1041

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sebastian Bargmann | last post by:
Hi, I think I've read everything there is to read about localization in dotNET and I still don't get it. I understand the concepts and I understand the code, but there's no way that the...
2
by: Dan | last post by:
I am creating a c# class library project to be used by some exe clients. This library needs to be localized for its text messages using satellite resource-only assemblies; I have created the...
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...
2
by: Kallis | last post by:
Hello, I have the following situation when trying to localize my software: I have BIG solution with about 80 projects. In one of the projects I have a number of dialogs (the dialog project :-)...
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...
1
by: enahar | last post by:
Dear Sir/Madam We are going to do the Localization/Globalisation for our product which has nearly got 284 forms using satellite Assemblies. I have got 2 questions 1. How to handle Substrings....
8
by: Henry | last post by:
Hi, in a Windows form VB.Net project I use localization for all texts. In App.Config I added: <appSettings> <add key="locale" value="de"/> </appSettings> In the project I have ressource...
3
by: Computer Guru | last post by:
I have a VB.NET 2005 application with several forms and a couple hundred "strings." I've been looking into all the localization improvements in VB.NET, and I can't seem to find anything that...
0
by: thayes | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.