andrebrait / prime-indicator

PRIME Indicator Plus - enhanced indicator applet for NVIDIA Optimus laptops
GNU General Public License v3.0
69 stars 12 forks source link

Multi-language support #8

Open ViBE-HU opened 8 years ago

ViBE-HU commented 8 years ago

Please add localization support.

andrebrait commented 8 years ago

Will do! It's on my plans. I need people to translate, though. I have, at this time, Italian, Brazilian Portuguese and English.

If you'd like to contribute or you know people who can, please point them to me.

ViBE-HU commented 8 years ago

Absolutely you can count on me. I already translated the original tool to Hungarian just never published.

jsalatas commented 8 years ago

I can contribute greek translations. Just let me know :)

andrebrait commented 8 years ago

@ViBE-HU @jsalatas I would appreciate! Can you add the translations to the JSON file in the /usr/lib/prime-indicator folder?

jsalatas commented 8 years ago

Attached (as txt as github doesn't allow me to attach json). I guess there might be some issues in the translation due to string concatenation, but I need to see these in action before I can tell for sure

prime-indicator.txt

ViBE-HU commented 8 years ago

@andrebrait not sure how to fork but I think I did it and made a commit (for the very first time lol). Notice me if I did it wrong.

andrebrait commented 8 years ago

@ViBE-HU You did it right! I jist merged your pull request! Thanks a lot!

andrebrait commented 8 years ago

@jsalatas the user @mugna91 changed some parts of the translations file. Would you mind checking if your translations are still correct when comparing to the latest version of the english strings? Thanks a lot!

jsalatas commented 8 years ago

Will do it later. I'll create a pull request for it :)

andrebrait commented 8 years ago

Two messages were left out when the original file was created. @mugna91 added them a few hours ago. Can you guys please add the translations for those, when you find some spare time to do it? Thanks a lot!

ViBE-HU commented 8 years ago

@andrebrait I noticed this but I thought maybe you will remove these from the code for some reasons. The Logout button still missing, right?

andrebrait commented 8 years ago

I haven't been having much time to review these changes beyond a quick look in the pull request before merging. If the Logout button is still missing, we better add it because it appears a lot.

As for those messages, I don't plan to remove them unless there's a standardized way of logging out, and I don't think there is. So, since I don't plan to support every DE out there, it will always be possible for someone to be running an unsupported DE.

ViBE-HU commented 8 years ago

@andrebrait Of course. I just wanted to say that the string is missing from the json while it's in the code so you may want to add it also to the text files.

mugna91 commented 8 years ago

@ViBE-HU You're right. Done a PR.

andrebrait commented 8 years ago

Thanks, @mugna91!

gabrielssilva commented 8 years ago

@andrebrait do you still need help with pt-br? I see you have pt-pt translations, and the messages are pretty much the same. But it is not complete, and I can send a patch anyway.

andrebrait commented 8 years ago

@gabrielssilva I'm brazilian, so I don't need help with the translation itself. However, I have been quite short in spare time lately, so it would be nice if you could send the patch :)

gabrielssilva commented 8 years ago

It's a pretty simple patch, but I hope it helps (#17) :)

andrebrait commented 8 years ago

It sure does! Thanks a lot! Merging now!

ViBE-HU commented 7 years ago

I was fairly inactive but I wanted to notice that the translation does not appears on Ubuntu. It's still use English somehow on my system. I also tested on a freshly installed laptop, but same happens.

andrebrait commented 7 years ago

Hey there, Vibe. Yeah, it has not been implemented yet. I have been busy lately. Sorry about that :/

Em 19 de abr de 2017 3:06 PM, "ViBE" notifications@github.com escreveu:

I was fairly inactive but I wanted to notice that the translation does not appears on Ubuntu. It's still use English somehow on my system. I also tested on a freshly installed laptop, but same happens.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/andrebrait/prime-indicator/issues/8#issuecomment-295371124, or mute the thread https://github.com/notifications/unsubscribe-auth/AFd-urGkuZFliRx9jaZD18FqYN9FVc1cks5rxk0ugaJpZM4Kd2N7 .