X hits on this document

140 views

0 shares

0 downloads

0 comments

46 / 67

22

.NET INTERNATIONALIZATION

ClickOnce supports custom cultures in both Visual Studio and Mage (Manifest Generation and Editing Tool). In Visual Studio, in the ClickOnce Publish proper- ties (in Solution Explorer, double-click Properties and select the Publish tab), click the “Options…” button; you can set the “Publish language” (see Figure 11.3). Mage also supports custom cultures in the same way.

Figure 11.3

Setting the ClickOnce publish language to a

custom culture

If you want the ClickOnce bootstrapper to use the language of your custom cul- ture, you must create a new folder beneath the Bootstrapper\Engine folder with the name of your culture (e.g., “bn-BD”) containing a setup.xml with translated strings. You can copy the setup.xml from the Bootstrapper\Engine\en folder to use as a starting point for your custom culture.

The support for custom cultures is limited to the .NET Framework. As a conse- quence, the Regional and Language Options dialog does not include custom cul- tures. If you use this as a means of setting the user’s CurrentCulture and

Document info
Document views140
Page views140
Page last viewedSat Dec 03 21:21:23 UTC 2016
Pages67
Paragraphs859
Words13458

Comments