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.
- Go to your setup which will be in the same solution.
- Right click on it and select ADD->PROJECT OUTPUT--> a window will appear.
- Select Project- your localization project then select from below localized resource.
- Just click ok. you will see one file is added to setup project.
- Just compile and install it will work fine.
精彩评论