Skip to content
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

Draft: Check against i18n Review Checklist #219

Open
7 of 22 tasks
bkardell opened this issue Feb 7, 2024 · 0 comments
Open
7 of 22 tasks

Draft: Check against i18n Review Checklist #219

bkardell opened this issue Feb 7, 2024 · 0 comments

Comments

@bkardell
Copy link
Collaborator

bkardell commented Feb 7, 2024

This short review is for the following spec: mathml-core.

  1. If the spec (or its implementation) contains any natural language text that will be read by a human (this includes error messages or other UI text, JSON strings, etc, etc), ensure that there’s metadata about and support for basic things such as language and text direction. Also check the detailed guidance for Language and Text direction.

    There is support for dir, and examples.

    • Not applicable
  2. If the spec (or its implementation) allows content authors to produce typographically appealing text, either in its own right, or in association with graphics. take into account the different typographic styles used around the world (for things such as line-breaking, text justification, emphasis or other text decorations, text selection and units, etc.) Also check the detailed guidance for Typographic support.

    Core L1 does not define line-breaking, but justification and decorations should be supported. Both LTR and RTL layout is supported.

    • Not applicable
  3. If the spec (or its implementation) allows the user to point into text, creates text fragments, concatenates text, allows the user to select or step through text (using a cursor or other methods), etc. make allowances for the ways different scripts handle units of text. Also check the detailed guidance for Text-processing.

    I believe this is not applicable here, as I am reading it, however existing APIs can be used to do this and MathML-core does have text-transforms which are important to maintain through text selection apis, for example.

    • Not applicable
  4. If the spec (or its implementation) allows searching or matching of text, including syntax and identifiers understand the implications of normalisation, case folding, etc. Also check the detailed guidance for Text-processing.

    The spec does not address the searching or matching of text.

    • Not applicable
  5. If the spec (or its implementation) sorts text ensure that it does so in locally relevant ways. Also check the detailed guidance for Text-processing.

    The spec does not address the sorting of text.

    • Not applicable
  6. If the spec (or its implementation) captures user input ensure that it also captures metadata about language and text direction, and that it accommodates locale-specific input methods.

    The spec does involve the capturing of input, except insofar as that it (like HTML and SVG) allows foreign content which might include something which does. However, I don't believe this is relevant here.

    • Not applicable
  7. If the spec (or its implementation) deals with time in any way that will be read by humans and/or crosses time zone boundaries ensure that it will represent time as expected in locales around the world, and manage the relationship between local and global/absolute time. Also check the detailed guidance for Local dates, times and formats.

    The spec does not deal with time or time zone boundaries.

    • Not applicable
  8. If the spec (or its implementation) allows any character encoding other than UTF-8. make sure you have a convincing argument as to why, and then ensure that the character encoding model is correct. Also check the detailed guidance for Characters.

    The spec follows HTML.

    • [] Not applicable
  9. If the spec (or its implementation) defines markup ensure support for internationalisation features and avoid putting human-readable text in attribute values or plain-text elements. Also check the detailed guidance for Markup & syntax.

    We do, but we believe we should be good on this point. MathML 2 is cited in https://www.w3.org/TR/charmod/#C041 - MathML-Core is an attempt to more stringently specify what browsers actually implement, and how it fits into the platform. Also, regarding 8.1: Definining elements and attributes in markup, MathML has mrow which is span-like in that it allows attributes such as dir (language directionality) on arbitrary spans of mathematical "text".

    • Not applicable
  10. If the spec (or its implementation) deals with names, addresses, time & date formats, etc ensure that the model is flexible enough to cope with wide variations in format, levels of data, etc. Also check the detailed guidance for Local dates, times and formats.

    It does not.

    • Not applicable
  11. If the spec (or its implementation) describes a format or data that is likely to need localization. ensure that there’s an approach in place which allows effective storage and labelling of, and access to localised alternatives for strings, text, images, etc.

    It does not.

    • Not applicable
  12. If the spec (or its implementation) makes any reference to or relies on any cultural norms ensure that it can be adapted to suit different cultural norms around the world (ranging from depictions of people or gestures, to expectations about gender roles, to approaches to work and life, etc).

    It does not.

    • [] Not applicable

Short i18n review checklist is here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant