[英]How to sort the Resources files into one folder in VS2010?
Environment: Visual Studio 2010 for Windows Phone 环境:Windows Phone的Visual Studio 2010
I have lots of resources files(*.resx) . 我有很多资源文件(* .resx)。 i use them to translate my app.I create a new folder named "Localized", I put all the resx file into the new folder, but it doesn't work.
我使用它们来翻译我的应用程序。我创建了一个名为“ Localized”的新文件夹,我将所有resx文件都放入了该新文件夹中,但是它不起作用。
How can I sort them into one folder? 如何将它们分类到一个文件夹中?
Without knowing what "doesn't work", this is a bit of a guessing game. 在不知道什么“无效”的情况下,这有点像猜谜游戏。 My suspicion is the resource file names may not be following the correct naming conventions where:
我怀疑资源文件名可能未遵循正确的命名约定,其中:
Each resource file must contain the correct culture/language name, as described in Culture and Language Support for Windows Phone .
每个资源文件都必须包含正确的文化/语言名称,如Windows Phone的文化和语言支持中所述 。
For example:
例如:
- For the culture Spanish (Spain), use AppResources.es-ES.resx.
对于文化西班牙语(西班牙),请使用AppResources.es-ES.resx。
- For the culture German (Germany), use AppResources.de-DE.resx.
对于德语(德国)文化,请使用AppResources.de-DE.resx。
Other Resources 其他资源
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.