By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,313 Members | 1,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,313 IT Pros & Developers. It's quick & easy.

Localization of Programmatic Strings

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.