https://bugzilla.wikimedia.org/show_bug.cgi?id=72939

            Bug ID: 72939
           Summary: Use 'de-CH' instead of 'de-ch' for attribute lang in
                    HTML
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Internationalization
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

* With [[Special:PageLanguage]] it is possible to set the page content language
per page. In the MediaWiki namespace there also exists several page content
languages.
* On action edit the language code gets filled into <textarea lang="...">.
* Firefox supports an automatic selection of the spell checker language based
on the lang attribute of the textarea element. [1]
* But Firefox set the spell checker language to "Deutsch (Schweiz)" only when
the lang attribute contains exactly 'de-CH'. 'de-ch' set the spell checker
language to "Deutsch (Deutschland)".

[1]
https://developer.mozilla.org/en-US/docs/Web/HTML/Controlling_spell_checking_in_HTML_formsControlling_spell_checking_in_HTML_forms

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to