Skip to content

StepicOrg/stepik-i18n

Repository files navigation

Hello!

This is Stepik's UI translations.

At this moment there are 7 locales:

How To Contribute

Create a pull request to this repo. Learn more about pull requests if you're new to GitHub.

Both minor fixes and major changes are welcome! You can even add a new language.

All accepted changes here will be live on https://stepik.org within 2 weeks.

💡 ProTip: to associate UI elements with translations, run i18nDebugKeys() in the browser console when you are at https://stepik.org. Execute this command again to hide the translation keys. Expand this section to watch a demo.

i18nDebugKeys demo

💡 ProTip: to find out missing translations in your locale you are working on, add the locale into requiresTranslation function in test-config.js.
requiresTranslation(key, locale) {
  return locale === 'ru' || locale === 'en' || locale === 'YOUR_LOCALE';
}

Translations Format

ICU Message Syntax is used.

Testing & linting translations

  • pip install -r requirements.txt
  • npm install
  • npm test

Contributors

Releases

No releases published

Packages

No packages published