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.
[ ] Move translated labels for custom blocks from CrowdIn to Rapid Router's language files
[ ] Add Blockly.Msg label references to the custom block definitions (instead of hardcoded strings)
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 - theMOVE_FORWARDS_TITLE
andMOVE_FORWARD_TOOLTIP
messages are custom and are used for themove_forwards
custom block.