Update build system/scripts to allow continual translation of the website #542
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR modifies the website build script to generate the "List of terms" (DWC and the three vocabularies) and the Quick-Reference Guide documents in other languages.
Demo site:
In more detail:
Translation of Darwin Core terms and vocabularies into French and Czech is complete using the CrowdIn system. The translations appear in the rs.tdwg.org repository at https://github.com/tdwg/rs.tdwg.org/blob/master/terms/terms-translations.csv and similar locations for the vocabularies.
With this PR the English site is unchanged except for
dwc:TaxonID
anddwc:taxonID
are different terms.However, there are significant changes to the build scripts:
a. So I moved the QRG from being generated from the CSV stored in this repository by a separate script to using same script and data as the others.
With manual changes to the configuration, the script is still capable of building the existing English pages as part of the process to make a new release of DWC.
The translations can include all current pages, but I have not planned to translate old versions of the documents like https://dwc.tdwg.org/list/2023-09-13. Translating pages like the RDF guide is optional.
Still to do:
Closes #242.
Please do not merge — my nonsense French must be removed first!