phetsims / babel

This repo contains the translated strings for PhET's simulations.
MIT License
4 stars 9 forks source link

babel

This repo contains the translated strings for PhET's simulations. The strings are submitted to this repository via a web-based utility. If you are interested in translating PhET simulations, please see https://phet.colorado.edu/en/for-translators.

By PhET Interactive Simulations https://phet.colorado.edu/

localeData

We have a localeData.json file that is the ground truth for information about the locales that we support. This is a critical file, since simulation builds always use the tip of babel's main branch to build. Be careful about modifying this file!

If you modify localeData.json:

  1. Run updateLocaleInfo.js (see documentation there). It will update information in various legacy files (e.g. localeInfo).
  2. Notify the responsible developers for rosetta, weddell, yotta, and the website that localeData/localeInfo were updated.

Notes about the format and data:

Locale data was originally based on Java's Locale object, but has been modified. Essentially each locale has the following data:

License

See the license