You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/translations.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,7 @@ Once the string freeze is in effect, the translation files in Github and Crowdin
41
41
### 2.2 Stable releases and backports
42
42
There two main stable release branches of the editor can be found at:
43
43
44
-
[python.microbit.org](http://python.microbit.org) - which contains available languages that have been translated ([see 2.3](https://paper.dropbox.com/doc/Python-Editor-Translation-Release-Strategy-DRAFT--AkD8w7FV~luvLTduPPtgQXZlAg-51mKmhhctvRyNxmN38aZ7#:h2=2.3-Available-languages))
45
-
44
+
[python.microbit.org](http://python.microbit.org) - which contains available languages that have been translated.
46
45
[python.microbit.org/v/beta](http://python.microbit.org/v/beta) - which contains available languages that have been translated and any proposed available languages. It may be the case that the beta editor is updated with new languages and strings more often than the live editor as we test out new languages.
47
46
48
47
At present, changes to translations will not be backported to legacy stable release branches, for example python.microbit.org/v/0. Doing so would require maintaining wholly separate copies of each set of translations and massively increases the burden on translators. Previous releases will have translations frozen at the time they are released.
@@ -57,7 +56,7 @@ This process requires:
57
56
- 'Manager' level permissions in the microbitorg Crowdin project.
58
57
- API Key from https://crowdin.com/project/microbitorg/settings#api
59
58
60
-
The `lang` folder in the Python Editor contains the source `en.js` and any other translated files identified by their two-letter country code. The `crowdin.yml` file is configured to export/import translations from the `apps/python-editor/` folder in our microbitorg project https://crowdin.com/project/microbitorg/settings#files
59
+
The `lang` folder in the Python Editor contains the source `en.js` and any other translated files identified by their two-letter country code. The `crowdin.yml` file is configured to export/import translations from the `apps/python-editor/` folder in the `new` branch of our microbitorg project https://crowdin.com/project/microbitorg/settings#files
61
60
62
61
The Crowdin project contains a pre-processor that handles the conversion from js > JSON and back again.
63
62
@@ -71,11 +70,11 @@ To export/import translations from Crowdin:
71
70
72
71
2. Push an update to `en.js`
73
72
74
-
`crowdin upload sources`
73
+
`crowdin upload sources -b new` where `new` is the branch we are using
75
74
76
75
3. Pull translated updates eg to `lang/es.js` for Spanish
77
76
78
-
`crowdin download -l es-ES` where es-ES is the country code
77
+
`crowdin download -l es-ES -b new` where es-ES is the country code
0 commit comments