[Juser] 回复: Language tags

lc20011201 at sohu.com lc20011201 at sohu.com
Tue Nov 6 22:51:05 CST 2007


<br /><blockquote dir="ltr" style="padding-right: 0px; padding-left: 5px; font: 9pt 宋体; margin-left: 10px; border-left: #000000 2px solid; margin-right: 0px"><div style="font: 9pt 宋体">----- 原文 ----- </div><br /><strong>From:</strong> <a href="mailto:z0idberg at gmx.de">Gerrit Sangel</a> <br /><strong>To:</strong> <a href="mailto:juser at jabber.org">juser at jabber.org</a> <br /><strong>Subject:</strong> [Juser] Language tags<br /><strong>Sent:</strong> Thu Nov 01 03:37:28 CST 2007<br /><p><br /><br />Hello list,<br /><br />I have a question concerning language tags.<br /><br />In (X)HTML, you can specify the language for a specific paragraph or word via <br />the lang attribute of XML, e.g.<br /><br /></p><p>Guten Morgen</p><p><br /><br />This is almost really necessary for Han characters, which were unified in <br />Unicode. Characters, which look different in China or Japan have the same <br />codepoint but have a different appearance controlled via the xml:lang <br />attribu
 te. In (X)HTML, the Browser will then choose an appropriate font for <br />the characters.<br /><br />I wonder if this is also possible in Jabber? Because Jabber is an XML <br />protocol, I think it should be generally possible to include the language tag <br />in a message? Maybe just like and so on. I tried this, <br />but my client did not change anything (ok, I&rsquo;m using Kopete, maybe it doesn&rsquo;t <br />support this). But this would then change the language for the entire <br />message, I&rsquo;d need to change the language for specific words.<br /><br />I sometimes have the problem, that I am chatting with someone about Chinese <br />and Japanese characters, but we can&rsquo;t say ?This is the way it looks in <br />Chinese and that way in Japanese&ldquo;, because the application uses the same font <br />for all characters.<br /><br />Also, if I chat with a Japanese person, I would like to see a Japanese font, <br />but when I&rsquo;m chatting with a Chinese, I w
 ould like a Chinese font.<br /><br />Is this maybe possible? Kopete doesn&rsquo;t seem to have this feature. Does anyone <br />know of a Jabber client which would support this (given that the Jabber <br />protocol supports this)?<br /><br />Thanks<br />Gerrit Sangel<br />_______________________________________________<br />This is JUser -- a mailing list for end<br />users of Jabber clients.<br /><br />To unsubscribe, go to the following web <br />page, scroll all the way down, and type <br />in your email address:<br /><br /><a href="http://mail.jabber.org/mailman/listinfo/juser">http://mail.jabber.org/mailman/listinfo/juser</a><br />_______________________________________________</p><p>Hello,Sangel</p><p>I think it's needless to add language tags to XMPP protocal.</p><p>To my opinion, the java language has provided us the API to handle the the problems of the language.</p><p>Another way,as the Spring FrameWork and Struts did,i18n library is another good idea.</p><p>Third ,
 jabber must hold it's purity,isn't it?</p><p>&nbsp;</p><p>P.S:My English is weak,please excuse!</p><p>Thanks </p><p>Sring lee.</p><p>Nov.7th</p><p>BeiJing</p></blockquote>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/juser/attachments/20071107/cad898ca/attachment-0003.htm>


More information about the JUser mailing list