Working with Cultures
In Chapter 36, “Localizing Applications,” you get more information about localizing applications, but at this particular point of the book, you can get an interesting taste using My. Basically two cultures are settable for your application: the thread’s culture, which is about string manipulation and formatting, and the user interface culture, which is about adapting resources to the desired culture. You can get information on both by invoking the Culture and UICulture properties from My.Application; then you can set different cultures for both the main culture and UI culture by invoking the ChangeCulture and ChangeUICulture methods. The following code accomplishes this:
First, the code retrieves information about cultures. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access