开发者

ASP.NET Local Resources Localizacion

We use resx fil开发者_StackOverflow社区es to localize my web applications. We have created a bunch of resource files under different APP_LocalResource folders and we are accessing that resources from pages and user controls through meta:resourcekey.

We want to move all the resource files into one folder, without changing meta:resourcekey

Is that possible?


i think it's not possible without change meta:resourcekey. but you can put in App_GlobalResources folder and used by direct assign to text property.

Example:

<asp:Literal ID="lblSearch" Text="<%$Resources:GeneralResource, General_Search%>" runat="server"></asp:Literal>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜