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/
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:
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:
xx
or xx_XX
(ISO-639-1 with 2-letter country code optional). Sometimes these do not
match with ISO-639-1, we have had to add some for our needs.
lk
as a locale.xxx
. The ISO-639-2 code for the language (3-letter code), if available. Some locales do not
have this information (most do).ltr
or rtl
for left-to-right or right-to-leftSee the license