Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
/locales/ directory
Normally when you build Openverse, you download the updated information about
locales and translation files to i18n/locales folder. To prevent too many
requests during CI, we save the locale files that are necessary to run the app
during Playwright tests.
valid-locales.jsoncontains a list of valid locales with properties including their translation status (the percentage of strings that are translated).es.jsonis theeslocale file used for search navigation tests (../playwright/e2e/search-navigation.spec.ts).ru.jsonis therulocale file used for testing the translation banner because the current translated percentage is ~40%, which is below the banner threshold of 90%.ar.jsonis the machine-translatedarlocale file used for RTL testing.