Module:Language/data/iana languages/make/doc
< Module:Language | data | iana languages | make
Jump to navigation
Jump to search
Revision as of 16:37, 4 November 2017 by blackwiki>Trappist the monk (create;)
This is the documentation page for Module:Language/data/iana languages/make
This is a crude tool that reads a local copy of an IANA language-subtag-registry file and extracts the information necessary to create the data tables held by:
- Module:Language/data/iana languages
- Module:Language/data/iana scripts
- Module:Language/data/iana regions.
Usage
To use this tool:
- open a blank sandbox page and paste this
{{#invoke:}}into it at the top line:{{#invoke:Language/name/data/iana_data_extraction_tool|iana_extract}}
- Go to the current language-subtag-registry file (or any of the files held by archive.org. Copy the whole (or just as much as you need) and paste it into the sandbox page below the
{{#invoke:}}. - Click Show preview
- wait
- get result
There is some crude error checking that will insert an error message in the output. Now guarantees that such messaging will be helpful