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

[FEATURE] Translation to brazilian portuguese (pt-BR) #10

Open
dannyloxavier opened this issue Aug 8, 2022 · 1 comment
Open

[FEATURE] Translation to brazilian portuguese (pt-BR) #10

dannyloxavier opened this issue Aug 8, 2022 · 1 comment

Comments

@dannyloxavier
Copy link

dannyloxavier commented Aug 8, 2022

Hi!
I would like to know what I should do to translate some english words to pt-BR in this amazing theme! =)

Have a nice day!

@EricKotato
Copy link
Owner

EricKotato commented Sep 28, 2022

Most phrases are taken from system language. For non-system ones, there are .ts files (which are compiled to .qm afterwards).

Here's the example for Russian, which also contains original strings for reference: https://github.com/RadRussianRus/sddm-slice/blob/master/translations/ru.ts

You can copy it, rename to pt-br.ts (since I guess your language code is pt-br), change language="ru" to language="pt-br", translate strings between <translation> and </translation> tags and send a pull request with it. Of course, it should be in translations folder.

Contributing .qm file isn't needed since it can be easily compiled from .ts file. If you still wish to compile it (for example, to test it yourself), you can do it with lrelease translations/pt-br.ts assuming you're running the command from repo root folder.

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