prime-indicator icon indicating copy to clipboard operation
prime-indicator copied to clipboard

Multi-language support

Open ViBE-HU opened this issue 9 years ago • 21 comments

Please add localization support.

ViBE-HU avatar Oct 22 '16 12:10 ViBE-HU

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.

andrebrait avatar Oct 22 '16 12:10 andrebrait

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

ViBE-HU avatar Oct 22 '16 12:10 ViBE-HU

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

jsalatas avatar Oct 22 '16 18:10 jsalatas

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

andrebrait avatar Oct 22 '16 19:10 andrebrait

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

jsalatas avatar Oct 22 '16 19:10 jsalatas

@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.

ViBE-HU avatar Oct 23 '16 01:10 ViBE-HU

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

andrebrait avatar Oct 23 '16 09:10 andrebrait

@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!

andrebrait avatar Oct 24 '16 20:10 andrebrait

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

jsalatas avatar Oct 24 '16 20:10 jsalatas

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!

andrebrait avatar Oct 27 '16 00:10 andrebrait

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

ViBE-HU avatar Oct 27 '16 04:10 ViBE-HU

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.

andrebrait avatar Oct 27 '16 09:10 andrebrait

@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.

ViBE-HU avatar Oct 27 '16 16:10 ViBE-HU

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

mugna91 avatar Oct 27 '16 17:10 mugna91

Thanks, @mugna91!

andrebrait avatar Oct 27 '16 17:10 andrebrait

@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.

gabrielssilva avatar Oct 28 '16 21:10 gabrielssilva

@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 :)

andrebrait avatar Oct 28 '16 21:10 andrebrait

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

gabrielssilva avatar Oct 28 '16 23:10 gabrielssilva

It sure does! Thanks a lot! Merging now!

andrebrait avatar Oct 29 '16 11:10 andrebrait

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.

ViBE-HU avatar Apr 19 '17 18:04 ViBE-HU

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" [email protected] 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 .

andrebrait avatar Apr 24 '17 02:04 andrebrait