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

Allow us to translate the games #9

Open
NathanAP opened this issue Jul 21, 2023 · 1 comment
Open

Allow us to translate the games #9

NathanAP opened this issue Jul 21, 2023 · 1 comment

Comments

@NathanAP
Copy link

Hi!

First of all I love your project and I wish all the best for everyone envolved in this project.

It would be AWESOME if we could translate games.
If we can find a way to make this possible, I would love to help translating it to brazilian portuguese :)

I'm a dev myself but I'm not into Rust lang, so I'm not sure this is easy to do.

@beyarkay
Copy link
Owner

Hey! Thanks, I'm glad that you like it.

This should be pretty easy actually. As an example, if you wanted to translate fear_pong into Brazilian Portuguese,

  1. you'll want to copy games/fear_pong.yaml into a new file called games/fear_pong.pt-BR.yaml,
  2. you'll want to go through all the items lists (like this one and this one) and translate them.
    a. You might also want to translate the pre-amble lines that describe the game, although those are less important to actually playing the game so that's up to you
  3. Submit a PR with the new file(s) and I'll approve them!

Once the PR is approved, GitHub actions will automatically create the PDFs and update the release.

Let me know how it goes! I didn't anticipate anyone wanting to translate, but Rust has really good language support so there shouldn't be any problems. But if there are any sharp edges, I'll be more than happy to try make the process a bit smoother for future translators ❤️ 🇧🇷

(PS: as far as I can tell, pt-BR is the IETF language tag for Brazilian Portuguese so that's what I used for the renaming. Feel free to correct me if I'm wrong)

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