https://github.com/stepicorg/stepik-i18n
UI Translations for Stepik
https://github.com/stepicorg/stepik-i18n
Last synced: 11 months ago
JSON representation
UI Translations for Stepik
- Host: GitHub
- URL: https://github.com/stepicorg/stepik-i18n
- Owner: StepicOrg
- License: apache-2.0
- Created: 2016-11-07T11:56:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T17:03:33.000Z (over 2 years ago)
- Last Synced: 2025-03-29T04:51:19.411Z (12 months ago)
- Language: JavaScript
- Homepage: https://stepik.org
- Size: 1.38 MB
- Stars: 3
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello!
This is [Stepik](https://stepik.org)'s UI translations.
At this moment there are 7 locales:
* [๐บ๐ธ English](translations/en.yml) (default, falls back here if some translation is missing)
* [๐ท๐บ Russian](translations/ru.yml)
* [๐บ๐ฆ Ukrainian](translations/uk.yml)
* [๐ง๐พ Belarusian](translations/be.yml)
* [๐จ๐ณ Chinese](translations/zh-hans.yml)
* [๐ช๐ธ Spanish](translations/es.yml)
* [๐ฉ๐ช Deutsch](translations/de.yml)
## How To Contribute
Create a pull request to this repo. [Learn more about pull requests](https://help.github.com/articles/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.
:bulb: 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.

:bulb: ProTip: to find out missing translations in your locale you are working on, add the locale into requiresTranslation function in test-config.js.
```js
requiresTranslation(key, locale) {
return locale === 'ru' || locale === 'en' || locale === 'YOUR_LOCALE';
}
```
### Translations Format
[ICU Message Syntax](https://formatjs.io/docs/core-concepts/icu-syntax/) is used.
### Testing & linting translations
- `pip install -r requirements.txt`
- `npm install`
- `npm test`
## Contributors
* Stepik Team (English and Russian translations; Spanish and Chinese rough auto-translation)
* [ะะฝะดััะน ะัะฐัะพัะบัะฝ](https://github.com/zimorodokan) (Ukrainian translation)
* [@ethnoby](https://github.com/ethnoby) team (Belarusian translation)
* [Maycon M. Kopelvski](https://github.com/mayconmk) (Brazilian Portuguese translation)
* add your name here