主题本地化 [英] Localization in Themes

查看:77
本文介绍了主题本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET Web应用程序,需要使用THEMES和LOCALIZATION.

我的问题是,在主题图像依赖于本地化的情况下,如何将两者结合? />例如,如果我的App_Themes目录结构为:

App_Themes
红色/>绿
图像
en
es
es
蓝色
图像
en
es
/>
页面需要使用绿色主题的图像,但取决于当前的UI文化,例如es-MX,我使用皮肤作为图像按钮.我希望图像来自App_Themes/Green/images/es/目录.

我尝试了各种方法来完成此操作,但均未成功.一方面,我猜.skin文件中不能包含表达式?

任何/所有帮助将不胜感激.

I have an ASP.NET web application that requires the use of THEMES and LOCALIZATION.

My question is how can i combine the two in such cases as a themed image is localization dependent.
For example, If I have an App_Themes directory structure of:

App_Themes
   Red
      images
         en
         es
         de
   Green
      images
         en
         es
         de
   Blue
      images
         en
         es
         de

And a page needs an image from the Green theme but dependent on the current UI Culture, say es-MX, I use a skin for an image button. I would like the image to come from the App_Themes/Green/images/es/ directory.

I have tried various ways of doing this with no success. For one thing, I guess the .skin file cannot have expressions in it?

Any/and all help would be appreciated.

推荐答案


首页


这篇关于主题本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆