ebrahimebrahim / knock-the-rock

A 2D physics game about throwing rocks.
MIT License
3 stars 0 forks source link

Add translations #17

Open ebrahimebrahim opened 4 years ago

ebrahimebrahim commented 4 years ago

It would be fun to add Arabic and Chinese

Strings.gd would have to be told about the labels on all the buttons and in all the panels UI elements would need to be given scripts that initialize their labels by querying Strings.gd

ebrahimebrahim commented 4 years ago

for later projects we probably want to import a table

kind of like described here: https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_translations.html#doc-importing-translations

but for this project I'm sticking with hardcoding strings into Strings.gd

ebrahimebrahim commented 4 years ago

right now everything is ready to be translated in Strings.gd, with the exception of the help panel text (which we may or may not bother translating)

yusufmte commented 4 years ago

We tried arabi with a font that seemed compatible, letters did not connect and were displayed left-right.