Tag Archives: internationalization

Test localized programs in C#

The example Localize a program in C# explains how you can localize a program so it displays different user interfaces depending on the system’s locale. After you localize it, the program automatically selects the correct locale at runtime. Because it … Continue reading

Posted in globalization, internationalization, localization | Tagged , , , , , , , , , , , , , | 1 Comment

Localize a program in C#

Globalization is the process of building an application that can be used by users from different cultures. Localization is the process of customizing a globalized application for a specific culture. To localize an application: Build an application as usual. Place … Continue reading

Posted in globalization, internationalization, localization | Tagged , , , , , , , , , , , , , | 2 Comments

Explore Unicode characters in C#

This example displays Unicode characters within a range of numeric values. Enter the minimum and maximum values to display and a font size. Then click List to display the characters in the range. When you move the mouse over the … Continue reading

Posted in internationalization, localization, strings | Tagged , , , , , , , , , , , | Leave a comment

Draw a timezone conversion chart in C#

The example Use Microsoft Word to make a timezone conversion chart in C# shows how to make a timezone conversion chart in Word. This example creates a print document holding a similar chart. When you select two timezones and click … Continue reading

Posted in internationalization | Tagged , , , , , , , , , | Leave a comment

Use Microsoft Word to make a timezone conversion chart in C#

This example uses Word to generate a timezone conversion chart that lets you easily convert hours from one timezone to another. Select a date and the two timezones. Then press Make Chart to make the conversion chart. (You need to … Continue reading

Posted in internationalization, Office, Word | Tagged , , , , , , , , , , , | 1 Comment

List the defined locales in C#

This example is fairly straightforward. When the form loads, the following event handler lists the defined locales. private void Form1_Load(object sender, EventArgs e) { // Make the ListBox use tabs. lstLocales.UseTabStops = true; lstLocales.UseCustomTabOffsets = true; // Define the tabs. … Continue reading

Posted in internationalization, system | Tagged , , , , , , , , , , , | Leave a comment

List timezones in C#

This simple example uses the following code to display the defined timezones. // Load the timezone information. private void Form1_Load(object sender, EventArgs e) { foreach (TimeZoneInfo info in TimeZoneInfo.GetSystemTimeZones()) lstTimezones.Items.Add(info); } This code simply loops through the TimeZoneInfo objects returned … Continue reading

Posted in internationalization, system | Tagged , , , , , , , , , , , , , , , | 1 Comment