开发者

When should I use Satellite Assemblies when it comes to localization? And When should I use Resources Files(.resx)?

I'm creating a windows appplication in which I wanna do some localization. That application will also use a DLL that might use a different language(CultureInfo) than the main application. Whic开发者_如何学Goh one of those two localization concepts applies best to my case?


I don't quite think you understand .Net's localization model.
Actually, when you add resx file to your project in Visual Studio and set language (change from Default to something else), not only it will automatically create language copy of your Default (invariant) resource file, but will also create Resource Managers to load data from Satellite Assemblies behind the scenes. Go ahead and try it by yourself. You should observe some language-based subdirectories with satellite assemblies in your output directory.

Therefore your question quite does not make sense.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜