You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PhET project regularly gets requests for changes to Locale information and it is not always handled consistently. We should document the process for making sure that information changes are propogated efficiently throughout the whole project and automate the process, if possible. Systems that we know have dependencies on the data include: simulation builds (chipper & joist), rosetta, the website, desktop app, and possibly yotta and the mobile apps.
Use Cases:
Handling requests for new locales (keeping an eventual migration to ISO-639-3 (3-letter locale codes) in mind)
Handling requests for changing English and native names for locales
We should start by enumerating where locale information is stored and how it is created. This comment lists dependencies on the website site, and this issue lists dependencies on the sim side. After that we should decide where a authoritative copy of the data lives, and decide how other sources will derive from it.
Starting a list of issues that need to be addressed with this work:
@jbphet suggested that the method rosetta uses may be effective for cross project purposes. In rosetta we request the file via HTTP from the Github Raw API. This data can be stale for ~5-10 minutes, but this should be acceptable becuase the data changes infrequently (1-2x/year)
After reviewing the project today I found that except for the website, all parts of the project that require localeInfo use one of the 3 files described in phetsims/chipper#1376. So I think here is what needs to happen:
Migrate website-common's localeInfo.js to typescript.
Migrate the types from website-meteor's localeInfo.ts to website-common.
Update the export for localeInfo in website's AdminMainPage to use chipper/data/localeInfo.json as the source for localeInfo, and supplement with built-in Java data.
While working on updating the website, I saw that we had added a customization for the localized name for welsh(cy) that is Cymraeg, but this doesn't exist in the chipper files. I'm thinking we should add this to chipper.
The PhET project regularly gets requests for changes to Locale information and it is not always handled consistently. We should document the process for making sure that information changes are propogated efficiently throughout the whole project and automate the process, if possible. Systems that we know have dependencies on the data include: simulation builds (chipper & joist), rosetta, the website, desktop app, and possibly yotta and the mobile apps.
Use Cases:
There is a backlog of change requests here: https://docs.google.com/spreadsheets/d/18PTbonJxJ9_vnhOqLx0QNPuA53UmIa1b5kLaYFz5qp4/edit#gid=1190768911
We should start by enumerating where locale information is stored and how it is created. This comment lists dependencies on the website site, and this issue lists dependencies on the sim side. After that we should decide where a authoritative copy of the data lives, and decide how other sources will derive from it.
Starting a list of issues that need to be addressed with this work:
The text was updated successfully, but these errors were encountered: