开发者

Localize Windows Service

I want to Set Culture for Windows Service that I developed. Can someone recommend me a good read for or how to go about it.

So far I have I Tried to do the Following OnStart()

Dim oCultureInfo as CultureInfo = New CultureInfo("tr-TR")

System.Threading.Thread.CurrentThread.Culture = oCultureInfo
System.Thread开发者_如何学运维ing.Thread.CurrentThread.UICulture = oCultureInfo

After doing so I still see that My culture is US English.


  1. Go to your setup which will be in the same solution.
  2. Right click on it and select ADD->PROJECT OUTPUT--> a window will appear.
  3. Select Project- your localization project then select from below localized resource.
  4. Just click ok. you will see one file is added to setup project.
  5. Just compile and install it will work fine.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜