-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[questions/qa-http-and-lang] Understanding the scope of the article #177
Comments
What information, specifically, were you looking for? |
I must say that I feel a bit of a disconnect as well, when reading that page. It seems to approach the issue from a very narrow technical point and then gives an answer that's a bit more general. I was expecting something like this: A lang attribute on elements sets the language for that piece of text. Not needed if it's inherited (true?) from an enclosing element, ultimately the html tag. There's no way to set information defininig a page as multilingual (true?) if no tag on html, browsers may use http lang info, which may also be used in language negotiation (getting the correct document to the intended audience). Old meta data construct now obsolete - don't use. [If the above outline is misstating something, chalk it up to the way the existing article(s) can't be skimmed quickly.] |
I agree....how about some examples on HOW to use a tag. Waxing poetic and thooretical on something that PRIMITIVE is absolute hot air. this is not theoretical quantum physics but practical science - i want to skim an article and know right away what is to be used and how. |
This article is indeed intended to address a narrow technical point, ie. "For HTML, should we put language declarations in HTTP headers and meta elements, and how are they different from those in language attributes?" (The background information about metadata vs text-processing is needed in order to understand those arguments, and we regularly have to refer spec developers to that also.) Wrt skimming, the QUICK ANSWER panel summarises the recommendations for this article. Do i need to make that clearer somehow? It's already highlighted. If you want general information about how to use the
Or look at the additional reading links at the bottom of the page. Perhaps i need to say the above more clearly somehow in the intro? Would it help if there was a paragraph just above the bold text at the start of the QUESTION section that said: "This article is specifically about the question in bold text below. If you have a different question, see XYZ or the FURTHER READING section at the bottom of the page. The quick answer section summarises the advice on the page." Or should that go at the start of the QUICK ANSWER section, since i get the feeling you skipped over the intro?? |
Looks like people end up there when not looking for that small technical point. Is it needed? Is the answer perhaps too detailed, therefore making the article pop up in searches for general info? |
It is needed, yes, but not as often as the general info about using lang attributes. I've been considering various ways of telling people more clearly what a given article is about, and what the alternatives are. We could do things like the following:
Basically provide more text and links to establish whether the reader is in the right place, and tell them what to read. I was rather hoping that people would figure that out pretty easily, given the styling, but maybe not. When we started writing these articles, we felt there was too much text at the top, and subsequently paired things down as much as possible, trying to get people quickly to an answer, but perhaps we went too far. |
The problem, as I see it when re-reading the article is that while the question ostensibly is only about the HTTP content language, the answer really drags in everything. (And because of that, search will correctly conclude that the article gives a more general answer and lead people there). I think this needs to be refactored. First, split off an article solely about HTTP-equiv being obsolete. In that article do not explain any alternatives, just give links. Second, trim the HTTP content language FAQ to: What language info should be set in HTTP headers? You will find your quick answer reduced to one (instead of three) items (which is a good sign that the article really answers one question). Mention that language info in the document normally overrides HTTP headers, but remove all description of what that language info is (replace by link). (Add link to the article on obsolete HTTP-equiv, but don't elaborate other than stating that this is obsolete). Make sure any of your links give the same levels of answer as the discussion currently embedded in this article (not just covering the same ground but equally focused). Perhaps consider a FAQ like article on "What to put into a html lang attribute" in parallel to the existing tutorials (for quick refresher and so people don't have to wade through too much to get a quick answer). If done right, search won't lead people any longer to the focused HTTP Content-language article if they are just trying to get info on setting language tags. (Of course add links to that reduced article from the new articles). |
[source] (https://www.w3.org/International/questions/qa-http-and-lang) [en]
terrible article...total chaos....and no examples HOW to USE the language ...lots on how NOT to use
The text was updated successfully, but these errors were encountered: