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
to include the Python generator. You can also import `{javascriptGenerator} from 'blockly/javascript'`, `{phpGenerator} from 'blockly/php'`, `{dartGenerator} from 'blockly/dart'` and `{luaGenerator} from 'blockly/lua'`.
76
+
## Applying messages
65
77
66
-
#### Blockly Languages
78
+
Once you have the message files, you also need to apply them.
67
79
68
80
```js
69
-
import*asFrfrom'blockly/msg/fr';
70
-
Blockly.setLocale(Fr);
81
+
Blockly.setLocal(En);
71
82
```
72
83
73
-
To import the French lang files. Once you've imported the specific lang module, you'll also want to set the locale in Blockly.
74
-
75
84
For a full list of supported Blockly locales, see: [https://github.com/google/blockly/tree/master/msg/js](https://github.com/google/blockly/tree/master/msg/js)
76
85
86
+
## Docs
87
+
88
+
For more information about how to use Blockly, check out our
0 commit comments