iho-ohi / S-100-Validation-Checks

S-100 Github repository for Validation Check development.
15 stars 1 forks source link

Proposed checks for locale consistency between resource and discovery metadata block #11

Closed rmalyankar closed 4 months ago

rmalyankar commented 1 year ago

Checks for S100_DatasetDiscoveryMetadata and S100_CatalogueDiscoveryMetadata:

  1. If a dataset or catalog uses a language or languages other than (or in addition to) English, every language in the dataset/catalog must be indicated in defaultLocale/otherLocale attributes in the corresponding discovery metadata block.
  2. If English is one of the languages used in a dataset or catalog, it must be encoded in defaultLocale.

Check for S100_SupportFileDiscoveryMetadata:

  1. If a support file is in a language other than English, the language must be encoded in defaultLocale in the corresponding S100_SupportFileDiscoveryMetadata block.

Check for support file content:

  1. A support file that contains informative text intended for display to end-users must use only one language for all such text.
DavidGrant-NIWC commented 1 year ago
  1. Why? I don't understand why this is useful for dataset/catalog discovery.
    • The dataset encodes this information internally.
    • The catalog uses language packs to support this functionality - the catalog itself is always required to be in English.
  2. The default value for defaultLocale is English, so it should only be required to encode a defaultLocale if it is not English.
rmalyankar commented 1 year ago
  1. Why? I don't understand why this is useful for dataset/catalog discovery. ...

...it should only be required to encode a defaultLocale if it is not English.

The check ensures that English is not encoded in an otherLocale instead of defaultLocale when there are multiple languages.

LizHahessy commented 10 months ago

Agreed at VTC 3 04/09/23 that a paper would be submitted to S-100WG 8. Review after meeting. http://iho-portal.bluemap.kr/share/files/387

LizHahessy commented 6 months ago

Paper was withdrawn at S-100WG8 following discussion. Recommend close issue.

LizHahessy commented 4 months ago

Discussed at VTC 8 and agreed to close Issue.