New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No i18n support #12
Comments
I'll try to implement i18n |
@mo4islona It looks like adding all the languages will add about 500kb+ to the size of the package. I wonder if it could be implemented in a way where you can import just the languages you want and the unused languages can be removed using tree shaking by whoever is using this library. For now, I'm able to grab the files out of the blockly repo and use them on my application side. |
Please try the latest version
|
Dynamic imports also works but Blockly doesn't re-render workspace. You must re-render it manually after locale loaded Check |
Also check the async locales demo http://mo4islona.github.io/blockly/ |
@mo4islona Thanks, this was really easy to swap out my temporary hack with what you implemented. |
It looks like this library only supports english. Is there any way you know of to add additional translation files?
The text was updated successfully, but these errors were encountered: