Skip to content

DistributedProofreaders/pphtml

Repository files navigation

pphtml

HTML tests for Project Gutenberg texts

Language subtag registry

This project uses IANA's language subtag registry (IANA page). This registry may change over time and should be occasionally refreshed.

The raw registry file is available for download at:

https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

Updating the registry

  1. Download a fresh copy of the registry file:

    curl -L -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  2. Regenerate the JSON file from the updated registry file:

    python3 language_registry_to_json.py

    The script accepts optional arguments if you need non-default paths:

    python3 language_registry_to_json.py \
        --registry language-subtag-registry \
        --output language-subtag-registry.json

About

HTML tests for Project Gutenberg texts

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages