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

[IDEA] I want to create a portuguese translation #363

Open
thiagomiranda3 opened this issue Mar 9, 2024 · 2 comments
Open

[IDEA] I want to create a portuguese translation #363

thiagomiranda3 opened this issue Mar 9, 2024 · 2 comments
Assignees

Comments

@thiagomiranda3
Copy link

Hello. I was trying to find an alternative to the Hercules program I used on Windows, and just found this incredible PacketSender program, that is even better.

I saw that it has multiple language support, but no portuguese so far. I would like to contribute writing a translation to it and keep working on future translations for portuguese if possible.

I didn't saw any contributing guidelines here, so decided to create this issue to suggest the portuguese translation that I'm willing to do.

I just need to get my self used to the files needed to change, and could start working on it later if that is possible.

@dannagle
Copy link
Owner

dannagle commented Mar 9, 2024

Awesome. Always happy to add another language.

The translations are XML format and located here as .ts files:
https://github.com/dannagle/PacketSender/tree/master/src/languages

Here are the steps...

  1. Download the English version:
    https://github.com/dannagle/PacketSender/blob/master/src/languages/packetsender_en.ts

  2. Rename the file. The Portuguese code is "PT", so packetsender_pt.ts will be good.

  3. Write your translations between <translation></translation>. Note that maintaining the spacing in the text is important.

  4. Remove the type="unfinished" when that line is finished.

You can attach your finished file to this issue if you are not familiar with git version control or creating github pull requests. I will load it in to the source and give you a shout-out in the release notes.

The finished Spanish version might be a helpful reference for you:
https://github.com/dannagle/PacketSender/blob/master/src/languages/packetsender_es.ts

Thanks again.

@thiagomiranda3
Copy link
Author

Thanks. I will work on it and submit a PR as soon as I finish it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants