Skip to content

Conversation

@outofambit
Copy link
Contributor

@outofambit outofambit commented Aug 2, 2020

This PR is based off of #803 so we can merge that PR and then this one right after.

(You can see the changes unique to this PR here 👀)

Changes:

  • Removed a few placeholder translation entries
  • Wrote a script to convert the existing translation JSON file structure to the new one defined by @yukienomiya in Add en.json generator #803
  • Used script to port es.json and zh-Hans.json to the new structure
  • Cleaned up a couple edge cases my script missed
  • Deleted script

Notes:

Some of the existing translations did not quite match the current reference data in data.json. I ported as much as I could, but you'll see "UNKNOWN-PARAM" in about 30 places in each converted json file. Hopefully these will be easy to spot and update for translators.

cc/ @yukienomiya @lmccart and some past translators for spanish and chinese @limzykenneth @montoyamoraga @xinemata @lm-n (sorry if I missed someone!)

yukienomiya and others added 23 commits June 21, 2020 10:37
The getenJSON script generates the en.json file from the data.json file and the enJSONStaticStrings.json file.
English version of the Reference JSON files.
File containing the static strings of the Reference section that have to be inserted at the beginning of the en.json file.
Change the swapping of the text that has to translated, in order to match the new structure of the Reference JSON file.
Add script section that performs the text swaps in "class" pages of the Reference.
This reverts commit ab217d5.
This reverts commit 298060f.
yukienomiya added a commit to yukienomiya/p5.js-website that referenced this pull request Aug 6, 2020
@outofambit
Copy link
Contributor Author

superseded by #836 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants