Internationalization and Localization Using Microsoft .NET

Internationalization and Localization Using Microsoft .NET

by Nick Symmonds

Paperback(Softcover reprint of the original 1st ed.)

$40.46 $44.95 Save 10% Current price is $40.46, Original price is $44.95. You Save 10%.
Eligible for FREE SHIPPING
  • Want it by Wednesday, September 26?   Order by 12:00 PM Eastern and choose Expedited Shipping at checkout.

Overview

Internationalization and Localization Using Microsoft .NET by Nick Symmonds

Internationalization and localization using microsoft .NET is intended to be a comprehensive discussion of how to localize code using Visual Studio .NET. Author Nick Symmonds knows the advantages of preparing for localization in the design stage and the disadvantages of localizing a project after the fact, and he discusses both methods of localizing code in this book. All aspects of localization are examined, from handling date, time, and currency and text data to developing multilingual user interfaces and help files. He also covers Visual Studio's localization features and tools in depth and presents the pros and cons of each to the reader.

Internationalization and Localization Using Microsoft .NET is unique in that it covers both C# and VB .NET -- all examples are presented in both languages. This language-independent approach is essential given that large systems may use both languages, and the principles discussed can be applied to other .NET languages as well. Also included is a comprehensive example of a resource editor, with code provided in both C# and VB .NET. This project is not only useful as product in itself, but it's also instructive in how to write fairly complicated code in both .NET languages.

Product Details

ISBN-13: 9781590590027
Publisher: Apress
Publication date: 01/29/2002
Edition description: Softcover reprint of the original 1st ed.
Pages: 352
Product dimensions: 7.52(w) x 9.25(h) x 0.03(d)

About the Author

Nick Symmonds works for the Integrated System Solutions division of Ingersoll-Rand, developing and integrating security software. He started his professional life as an electronics technician. While getting his bachelor's degree in electrical engineering from the University of Hartford, he started to gravitate toward programming. Nick has spent quite a few years programming in assembly, C, C++, and Visual Basic. Recently, he has latched onto .NET like a lamprey and loves digging into the .NET core. Nick has written several articles on programming and has three books out: Internationalization and Localization Using Microsoft .NET (Apress, 2002), GDI+ Programming in C# and VB .NET (Apress, 2002), and Data Entry and Validation with C# and VB .NET Windows Forms (Apress, 2003). He lives with his family in the northwest hills of Connecticut and has recently become addicted to golf and road cycling. He also enjoys woodworking, hiking, and exploring the hills on his motorcycle.

Table of Contents

About the Authorxi
About the Tech Reviewerxii
Prefacexiii
Acknowledgmentsxix
Chapter 1General Localization Concepts1
Multilanguage Support1
Choosing Graphics2
A Word About Color3
Resource File Concepts5
Summary11
Chapter 2Aspects of Localization13
GUI Design for Mulitinational Programs13
Introducing Unicode and Character Sets29
Summary33
Chapter 3Using Multiple Resource Files in VB 635
VB 6 Resource File Overview35
What VB 6 Resource Files Lack36
External Resource Compiler36
A More Readable Resource File38
Making an External Resource File39
Loading Resources at Runtime40
Summary62
Chapter 4The Globalization Namespace63
Interfaces and Classes63
System. Globalization Namespace64
Calendar Class65
CultureInfo Class69
DateTimeFormatInfo Class85
NumberFormatInfo Class89
RegionInfo Class91
StringInfo Class100
Summary104
Chapter 5System. Resources and System. Threading Namespaces105
System. Resources Namespace105
Using Reflection to Find Missing Classes118
System. Threading Namespace121
Resource File Types123
Enter XML127
Summary134
Chapter 6Resource File Tools135
Resource Tools135
IDE Forms Designer140
WinRes. exe152
Summary157
Chapter 7Resource Editor Example159
Starting the Project161
Where Is the Localization?168
Here Comes the Code168
Generating the Resource Handler Class174
The ResUtil Class Completed188
Back to the Main Code199
The Import Functions at Work203
Saving the Data209
The VB Resource Editor Project in Summary213
Making the C# Version of the Resource Editor213
Making a Custom Collection Class226
Finishing Off the Code230
Handling Events in C#241
Summary242
Chapter 8Let's Localize243
Laying Out the Task243
Revisiting the GUI244
Initializing the Controls with Strings244
Enhancing the ResImage Class247
Manually Adding an Icon to the Resource Editor255
Finishing the Internationalization Portion259
Making a New Resource File262
Finalizing the Code267
Testing the Program274
Summary275
Chapter 9Localization in ASP .NET277
The Coldest Hotel Application277
Writing the Code280
Summary302
Chapter 10Versioning Resource Files in .NET305
Implicit Security306
Versioning in .NET314
Summary321
Chapter 11Localization Wrap-up323
Help Files323
Getting It Translated324
Testing Your Localized Code328
Don't Forget the Install330
Final Comments330
AppendixResources for Internationalization and Localization Projects333
General Globalization Web Sites333
Machine Translation Services334
Places to Get Fonts334
Standards334
Editors335
Index337

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Internationalization and Localization Using Microsoft .NET 1 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
We bought this book to help us internationalize a project. We found the content to be confused and of little use. The author spends too much time discussing VB6, and takes two chapters telling you how to write a better resource file editor he designed. He should remove this material and spend more space actually discussing clearly how it works in .net and giving concise working examples. In one particular example we attempted to use from his book, he outlines the way in which .net hunts for region related resource files through directories of dlls, whilst refering to a table showing how .resource files work. For our project we wanted to create one or more dlls which contained our regionalised strings and which where separate from the main exe for distribution. This is something we would have thought to be quite common. Yet out of all the examples in the book we could not find out how to do this, and the ones that where close, where so vague we could not get them to work. This book is a waste of money.