- From: r12a <ishida@w3.org>
- Date: Thu, 29 May 2025 09:39:43 +0100
- To: mike@w3.org
- Cc: Henri Sivonen <hsivonen@hsivonen.fi>, www-validator@w3.org
- Message-ID: <fdfbb32e-f465-9ea3-842a-c15d68484d5b@w3.org>
Mike, I'm assuming that the validator will continue to accept lang=fa also as appropriate when it guesses that the text is in Persian. My intention was not to replace fa with pes, just expand the list of language subtags that match Persian. ri > mike@w3.org <mailto:mike@w3.org> > 29 May 2025 at 06:25 > Hi Henri, > > Henri Sivonen <hsivonen@hsivonen.fi>, 2025-05-23 14:10 +0900: >> Archived-At: <https://www.w3.org/mid/e4293d99-229e-41e5-afc6-e5862dbf539a@app.fastmail.com> >> >> Do the three-letter codes really improve interop? CLDR seems to use fa-AF for Dari. > Personally, I don’t know — and I don’t have any strong opinion about it > either way. I just made the change in response to Richard having raised the > issue — and because in general it seems that for cases like this we’ve been > following a policy of deferring to people in the community known to have > more specific domain knowledge around internationalization particulars. > > And I guess it’s also worth mentioning that what this change affects is > just the checker’s language-guessing feature. And the behavior of that > feature isn’t based on any specification — so it’s not possible to consult > any actual normative conformance requirements for the expected behavior. > > –Mike > >> On Mon, May 12, 2025, at 10:47 AM, mike@w3.org wrote: >>> Hi Richard, >>> >>> r12a <ishida@w3.org>, 2025-05-10 14:01 +0900: >>>> Archived-At: <https://www.w3.org/mid/85c113a0-220e-c469-ea36-e046521f95b0@w3.org> >>>> >>>> Showing results for >>>> https://w3c.github.io/i18n-drafts/questions/qa-lang-why.pes.html >>>> >>>> *Warning*: This document appears to be written in Persian but the >>>> |html| start tag has |lang="pes"|. Consider using |lang="fa"| (or >>>> variant) instead. >>>> >>>> 'fa' is a macrolanguage. The document is written in Iranian Persian (rather >>>> than, say, Dari), and the more precise langtag is 'pes'. >>> Thanks — fixed now: >>> >>> https://validator.w3.org/nu/?doc=https://w3c.github.io/i18n-drafts/questions/qa-lang-why.pes.html >>> >>> –Mike > Henri Sivonen <mailto:hsivonen@hsivonen.fi> > 23 May 2025 at 12:10 > Hi, > > Do the three-letter codes really improve interop? CLDR seems to use > fa-AF for Dari. > > mike@w3.org <mailto:mike@w3.org> > 12 May 2025 at 08:47 > Hi Richard, > > Thanks — fixed now: > > https://validator.w3.org/nu/?doc=https://w3c.github.io/i18n-drafts/questions/qa-lang-why.pes.html > > –Mike > > r12a <mailto:ishida@w3.org> > 10 May 2025 at 14:01 > Showing results for > https://w3c.github.io/i18n-drafts/questions/qa-lang-why.pes.html > > 1. > > *Warning*: This document appears to be written in Persian but the > |html| start tag has |lang="pes"|. Consider using |lang="fa"| (or > variant) instead. > > From line 1, column 16; to line 2, column 27 > > |TYPE html>*↩<html lang="pes" dir="rtl">*↩<head| > > For further guidance, consult Declaring the overall language of a > page > <https://www.w3.org/International/techniques/authoring-html.en?open=language&open=textprocessing#textprocessing> > and Choosing language tags > <https://www.w3.org/International/techniques/authoring-html.en?open=language&open=langvalues#langvalues>. > > If the HTML checker has misidentified the language of this > document, please file an issue report > <https://github.com/validator/validator/issues/new> or send e-mail > to report the problem <mailto:www-validator@w3.org>. > > > 'fa' is a macrolanguage. The document is written in Iranian Persian > (rather than, say, Dari), and the more precise langtag is 'pes'. See > https://r12a.github.io/app-subtags/?find=persian > > ri >
Received on Thursday, 29 May 2025 08:39:47 UTC