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

i18n checklist for Working with numbers #579

Closed
2 tasks done
takuki opened this issue Apr 23, 2019 · 1 comment
Closed
2 tasks done

i18n checklist for Working with numbers #579

takuki opened this issue Apr 23, 2019 · 1 comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@takuki
Copy link
Contributor

takuki commented Apr 23, 2019

Working with numbers

  1. When parsing user input of numeric values, allow for digit shaping (non-ASCII digits).

    One of the usage of TD is to create user interfaces for humans to interact with Things based on TDs.

    • For payload, TD uses a type system compatible with JSON Schema.
      • Therefore, number values in the payload are ASCII digits as required by JSON Schema.
    • However, the software generating user interfaces are free to apply number shaping to interact with users, depending on the user's preferences.
       
  2. When formatting numeric values for display, allow for culturally sensitive display, including the use of non-ASCII digits (digit shaping).

    Similar to the above, a software can process TDs to generate user interfaces.

    • Numeric items (such as minimum and maximum) in the TD Information Model (section 5) are defined in terms of value spaces (instead of lexical spaces) by referencing XML Schema 1.1 datatypes.
    • The software generating user interfaces are free to apply number shaping to display culturally sensitive numbers, depending on the user's preferences.
@mkovatsc
Copy link
Contributor

mkovatsc commented May 9, 2019

All items checked. Closing.

@mkovatsc mkovatsc closed this as completed May 9, 2019
@mkovatsc mkovatsc added the i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. label May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Projects
None yet
Development

No branches or pull requests

3 participants