Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / July 2005

Tip: Looking for answers? Try searching our database.

String localization tutorial?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bit Twiddler - 20 Jul 2005 22:29 GMT
I have a C# app that uses tons of hardcoded strings.  I would like to know
the best way to localize these strings so that when I use them in my
application I am assured to get the correct ones given the current locale.

For example, if my code looks like this:

string s = "somestring";

how do I go about obtaining that string from a resource (satellite
assembly?)?

I am having trouble finding the steps required to do this the right way.

Thanks!!
BT
Garrett McGowan[MSFT] - 23 Jul 2005 00:52 GMT
Hi BT. There are walkthroughs available on MSDN that demonstrate how to do
this for Visual Studio .NET 2003. It works a bit differently for Visual
Studio 2005 (beta), so please let me know if that's the one you're working
with.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbwlkwalkthroughlocalizingwindowsforms.asp

Cheers,
Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: "Bit Twiddler" <bittwiddler35@hotmail.com>
>Subject: String localization tutorial?
[quoted text clipped - 16 lines]
>Thanks!!
>BT

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.