microbit-foundation / python-editor-v3

Micro:bit Educational Foundation Python Editor V3
https://python.microbit.org
MIT License
60 stars 37 forks source link

In-context translation #1169

Closed microbit-grace closed 7 months ago

microbit-grace commented 7 months ago

Requires a translate flag.

Foundation builds only so we don't get confusing contributions to our Crowdin from forks that might have made text changes. Open to discussing making the Crowdin project configurable if useful to forks.

When the flag is present, change language id to lol and append CrowdIn JIPT script to header.

Related PRs (now merged) Pyright - https://github.com/microbit-foundation/pyright/pull/32 Stubs - https://github.com/microbit-foundation/micropython-microbit-stubs/pull/100

github-actions[bot] commented 7 months ago

Preview build will be at https://review-python-editor-v3.microbit.org/in-context-translation/

Flag for in-context translation https://review-python-editor-v3.microbit.org/in-context-translation/?flag=translate