Skip to content

Commit 6331216

Browse files
microbit-markmicrobit-carlos
authored andcommitted
add branch info (#260)
1 parent 6023824 commit 6331216

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/translations.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ Once the string freeze is in effect, the translation files in Github and Crowdin
4141
### 2.2 Stable releases and backports
4242
There two main stable release branches of the editor can be found at:
4343

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.
4645
[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.
4746

4847
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:
5756
- 'Manager' level permissions in the microbitorg Crowdin project.
5857
- API Key from https://crowdin.com/project/microbitorg/settings#api
5958

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
6160

6261
The Crowdin project contains a pre-processor that handles the conversion from js > JSON and back again.
6362

@@ -71,11 +70,11 @@ To export/import translations from Crowdin:
7170

7271
2. Push an update to `en.js`
7372

74-
`crowdin upload sources`
73+
`crowdin upload sources -b new` where `new` is the branch we are using
7574

7675
3. Pull translated updates eg to `lang/es.js` for Spanish
7776

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
7978

8079
## 4. Help
8180

0 commit comments

Comments
 (0)