HTML tests for Project Gutenberg texts
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
-
Download a fresh copy of the registry file:
curl -L -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
-
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