如何更改语言 [英] How do I change the language

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

问题描述

<html lang="en">
<head>
<title> . . . </title>
</head>
<body>
<form action="demo_form.asp" method="get">

<input list="language" name="language">
<datalist id="language">
  <option value="Abkhazian">
  <option value="Afar">
  <option value="Afrikaans">
  <option value="Amharic">
  <option value="Arabic">
</datalist>
<input type="button" name="Go">
<pre>
The language is changed..Keep Enjoying..
</pre>
</form>
</body>
</html>

the sample language codes are given below

Abkhazian   ab
Afar        aa
Afrikaans   af
Albanian    sq
Amharic     am
Arabic      ar

Now what I need is to change the language by the client at runtime.While selecting the language from the list...

推荐答案

嗯...你的代码是经典的asp,但你把它标记为C#。当你使用一个已经过时了15年的平台并且总是很糟糕的时候,你几乎就是靠自己。我甚至不确定'更改语言'的含义,但您可以根据您选择的任何规则在任何平台上发出任何您喜欢的HTML。
Um... your code is classic asp, and yet you tagged this as C#. As you're using a platform that's been obsolete for 15 years and was always hell, you're pretty much on your own. I'm not even sure what you mean by 'change language', but you can emit any HTML you like in any platform, based on any rules you choose to write.


这篇关于如何更改语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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