Skip to content
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

How to change language? #8

Closed
toamig opened this issue Mar 20, 2021 · 1 comment
Closed

How to change language? #8

toamig opened this issue Mar 20, 2021 · 1 comment

Comments

@toamig
Copy link

toamig commented Mar 20, 2021

I've created a new i18n file with my language and added a new list item to BlockResSettings. Although, nothing changes when I run the game.

@imagicbell
Copy link
Owner

Sorry for the inconvenience. There is one more thing:
On the Line 34 in /Assets/UBlockly/Script/Core/Blockly.cs, change the parameter in the call
BlockResMgr.Get().LoadI18n(I18n.EN);
to the value you set for Index Name in BlockResSettings.

This is not automatic, I know. I'll fix it in the future.

imagicbell pushed a commit that referenced this issue Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants