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

Internationalization Review for VC JSON Schema #164

Closed
12 of 24 tasks
decentralgabe opened this issue Jun 13, 2023 · 3 comments
Closed
12 of 24 tasks

Internationalization Review for VC JSON Schema #164

decentralgabe opened this issue Jun 13, 2023 · 3 comments
Assignees
Labels
horizontal-review i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@decentralgabe
Copy link
Collaborator

decentralgabe commented Jun 13, 2023

This review is for the following specifications:

  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.
  • Not applicable

JSON Schemas are JSON text intended primarily for machines to read, since they are used for strict static validation of data. Language and text direction concerns are addressed by the noted specification documents for JSON Schema itself. When packaging VC JSON Schemas as verifiable credentials, implementers are encouraged to follow the guidance listed in the VC Data Model.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

Text searching and matching is the primary feature which JSON Schema provides. The documents provided in the specification note JSON Schema language which states this according to a specific version of a JSON Schema specification.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

All character encoding for all JSON Schemas, which utilize JSON, use UTF-8 for text encoding.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

  1. 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.
  • Not applicable

JSON Schemas, by design, are not intended to be internationalizable, since they are used for strict static validation of data. An implementer may choose to translate a JSON Schema, or make it available in a variety of languages; however, these would be considered distinct JSON Schemas. When packaging VC JSON Schemas as verifiable credentials, implementers are encouraged to follow the guidance listed in the VC Data Model.

  1. 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).
  • Not applicable

This specification is for machine-readable JSON processing without transformation and thus does not provide the features described in the paragraph above.

@andresuribe87
Copy link
Collaborator

Only one that I'm unsure about is the following. Can you elaborate?

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.

@decentralgabe
Copy link
Collaborator Author

@decentralgabe
Copy link
Collaborator Author

With #222 the i18n review is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
horizontal-review 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