下拉菜单中的不同语言的货币 [英] Currency in different langauge in dropdown

查看:140
本文介绍了下拉菜单中的不同语言的货币的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.朋友.
我正在asp.net上从事酒店管理项目.
我有一个下拉列表来显示货币名称,因此用户可以通过从下拉列表中选择值来更改其他货币的酒店价格.

现在,我的客户希望在下拉列表中使用不同的语言显示项目.例如,如果有印度卢比,则应以印地语显示.如果有日元,则应以日语显示.

我所做的只是打开Goog​​le并用印地语翻译印度卢比,然后复制该印地语文本并粘贴到下拉项中,效果很好,但我怀疑如果有人的浏览器不支持印地语,那么它将无法正常工作.

那么对于这种要求我该怎么办?我应该使用全球化还是本地化为不同的语言创建resx?

如果我这样做,每个浏览器都支持吗?

请引导我正确的道路,否则任何建议都会对我有所帮助.

谢谢
Imrankhan

Hi. friend.
I am working on hotel management project in asp.net.
I have one drop down list to display currency name so user can change hotel rate in different currency by selecting value from drop down list.

Now, my client wants to have items in drop down list in different language. For example, If there is Indian rupees then it should be displayed in Hindi language. if there is Japanese yen then it should be displayed in Japanese language.

Simply what I did that I open Google and translate Indian Rupees in Hindi and copy that Hindi text and paste in drop down item and it works fine but I doubt that if someone browser doesn''t not support Hindi language then it will not work.

So what I have to do for this kind of requirement? Should I use globalization or localization to create resx for different languages?

If I do so everyone browser supports?

Please guide me right path or any suggestion would be helpful to me.

Thanks
Imrankhan

推荐答案

如果浏览器不支持unicode,那么对不起,根据我所知,它将无法正常工作,除非这是一张图片.

话虽如此,IIRC我在某处读到,如今,绝大多数浏览器都支持unicode,因此您很清楚.

快速测试,您可以看到以下内容:

英文:Imran Khan
阿拉伯语:عمرانخان

假设您没有安装阿拉伯语或乌尔都语,如果可以看到阿拉伯语文字(音译为伊姆兰·汗(Imran Khan :)),那么您就可以了.
If a browser does not support unicode then sorry, that won''t work and to the extent of my knowledge, there is nothing to make it work unless it were an image.

Having said that, IIRC I read somewhere that the overwhelming majority of browsers these days support unicode so you''re clear there.

A quick test, can you see the following:

English: Imran Khan
Arabic: عمران خان

Assuming you don''t have Arabic or Urdu installed, if you can see the Arabic text (it transliterates Imran Khan :)) then you''re fine.


这篇关于下拉菜单中的不同语言的货币的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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