【发布时间】:2014-07-11 02:43:57
【问题描述】:
根据 GAR 合规性,必须在页面上注明语言。
Question 2.9. Is the content’s human language indicated in the markup?
E.g. for a page written in all one language, `<html lang="fr">`, or for a multi-lingual page, `<div lang="fr">`.
GWT 应用程序在其 gwt.xml 中指明其支持的语言环境列表,并提供具有客户端请求的语言环境的 html 页面。 GWT 应用程序如何在 html 标记中设置 lang 属性? 我们的应用程序是基于 UI 小部件的,因此我们没有主机 html 页面,而是直接将小部件添加到 RootPanel()。
【问题讨论】: