ocadotechnology / rapid-router

A Blockly and python based educational game aimed at students age 5-14.
https://www.codeforlife.education
Other
56 stars 61 forks source link

Translate custom blocks in Rapid Router #1612

Closed SKairinos closed 3 weeks ago

SKairinos commented 1 month ago

In order to get the block translations working properly, we need to move the translated labels for the custom blocks into the Rapid Router language files (in blockly/msg/js) and reference them properly when the custom blocks are set up.

An example of how to format the translated labels can be found at the bottom of the fr.js language file - the MOVE_FORWARDS_TITLE and MOVE_FORWARD_TOOLTIP messages are custom and are used for the move_forwards custom block.

SKairinos commented 1 month ago

@evemartin, I converted this to a GH issue

evemartin commented 1 month ago

Thank you!! I have linked it to the PR

evemartin commented 1 month ago

new PR just for adding do: https://github.com/ocadotechnology/rapid-router/pull/1623

lauracumming commented 1 month ago
faucomte97 commented 1 month ago

Same

lauracumming commented 3 weeks ago

LGTM

faucomte97 commented 3 weeks ago

LGTM