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
I'd to like to start the translation to PT-BR of the game but I want to do in way it's easy for future maintenance and new languages, so I have a proposal.
First we define some variables in a YAML file like this which is basically a translation table:
Then all the diagrams must use template tags to get the values (eg.: {{ general.first_player }}), we're going to render using Jinja and once we've done it we can render using Drawio API, finally we just save in the folder!
The render process can be done locally and we verify using the CI/CD if the process was executed or automate the repository to commit it self in the master branch after a merge.
WDYT?
The text was updated successfully, but these errors were encountered:
I haven't seen the .numbers files content yet but I think it's possible and the .md to get translated is more a manual thing as we really need to rewrite in a understandably way in each language! My suggestion to .md would be to put the last tag/commit it reflects, like, now the game is on version 0.0.6 so the .md of languages other than Russian will put it visible there so we'll now if it's updated or not
Initially would be a good approach as the docs are not too much extensive
Hi @sobolevn 👋🏽
I'd to like to start the translation to PT-BR of the game but I want to do in way it's easy for future maintenance and new languages, so I have a proposal.
First we define some variables in a YAML file like this which is basically a translation table:
Then all the diagrams must use template tags to get the values (eg.:
{{ general.first_player }}
), we're going to render using Jinja and once we've done it we can render using Drawio API, finally we just save in the folder!The render process can be done locally and we verify using the CI/CD if the process was executed or automate the repository to commit it self in the master branch after a merge.
WDYT?
The text was updated successfully, but these errors were encountered: