AppImageLauncher icon indicating copy to clipboard operation
AppImageLauncher copied to clipboard

Let's translate AppImageLauncher!

Open TheAssassin opened this issue 6 years ago • 26 comments

In order to provide a more seamless experience for users, AppImageLauncher should be translated!

I will set up a Weblate integration as soon as possible, and would like to see as many users speaking different languages as possible to translate AppImageLauncher's user interface and desktop action titles into many different languages.

I will post a link to the translation portal here as soon as it's available. I will start myself with a German translation of the English text.

TheAssassin avatar May 15 '18 21:05 TheAssassin

Genial , podrías traducirlo al español!!!=Great, you could translate it into Spanish !!!

Lvaskz avatar May 17 '18 18:05 Lvaskz

@Lvaskz just pushed a set of commits that allow us to kick off the translation process. I'll publish details on how you can contribute as soon as possible.

TheAssassin avatar May 17 '18 20:05 TheAssassin

All right. AppImageLauncher can now be translated! I've taught myself how to use Qt's internationalization framework, implemented a suitable CMake infrastructure, set up the internationalization in the applications themselves, set up the localization (the part where users can contribute translations), everything works fine.

I set up my Weblate instance to allow users to translate the app with a simple web UI. Please use Weblate to translate the application, and don't send PRs directly.

For convenience, GitHub login has been set up for my Weblate instance. But you can as well just register with an e-mail address to create a local account.

https://translate.assassinate-you.net/projects/appimagelauncher/

The German translation is already working fine in the packages built on Travis CI.

~~I will set up the rest of the tools as components on Weblate tomorrow.~~ I refactored the translations, as it makes more sense to translate the main dialog and the helpers in a single file.

TheAssassin avatar May 18 '18 02:05 TheAssassin

Update: desktop actions can now be translated as well.

TheAssassin avatar May 19 '18 18:05 TheAssassin

Spanish updated already

Lvaskz avatar May 21 '18 14:05 Lvaskz

@Lvaskz thanks! Could you please also have a look at https://translate.assassinate-you.net/projects/appimagelauncher/desktop-actions/?

TheAssassin avatar May 21 '18 14:05 TheAssassin

Done

Lvaskz avatar May 21 '18 14:05 Lvaskz

Great. I'm working on #42, so soon with the new version AppImageLauncher will update the desktop files with the new translations.

TheAssassin avatar May 21 '18 14:05 TheAssassin

Hello, I've just done translations into Russian.

dayllenger avatar Jun 08 '18 18:06 dayllenger

Thanks! I'll check them later tonight.

TheAssassin avatar Jun 08 '18 18:06 TheAssassin

Merged and pushed. Thanks, @dayllenger!

TheAssassin avatar Jun 08 '18 19:06 TheAssassin

I have noticed that some appimagelauncher dialog are not translated into Spanish. It is supposed that they are all translated by me. Is there something I broke when translating?

Lvaskz avatar Sep 06 '18 04:09 Lvaskz

I'm working on a major GUI remake so that will be ready soon. So please hold on translations a bit. I'll let you know when it's completed.

azubieta avatar Sep 06 '18 10:09 azubieta

@Lvaskz translations aren't pushed to GitHub automatically. I will update them manually ASAP.

TheAssassin avatar Sep 06 '18 11:09 TheAssassin

Ok

Lvaskz avatar Sep 09 '18 04:09 Lvaskz

@TheAssassin

I've finished Portuguese translations, however in "AppImageLauncher UI", since PT-PT = PT can you please copy the PT - that i just did - into the PT-PT (i suppose there is an automatic method for this...)?

Also, on string 13 - Failed to create temporary copy of type 1 AppImage

wasn't this supposed to be

Failed to create temporary copy of type %1 AppImage ?

maverick74 avatar Nov 28 '18 12:11 maverick74

Thanks a lot.

Doesn't PT-PT fall back to PT normally? If not, I'll copy this in git directly, shouldn't be a problem. I want to avoid having redundant translations, though, normally.

You're right about that string, I will push an updated source string later, then we can fix it in all translations.

TheAssassin avatar Nov 28 '18 12:11 TheAssassin

Doesn't PT-PT fall back to PT normally?

Yes, it should! But sometimes it doesn't. What should be was Pt = Portugal and Pt-Br = Portuguese-Brazilian... But there are some places that wrongly uses the pt-pt for portugal... so, i guess it's better we play the safe side ;). But still, you are right on your assumption since Portugal is the place of origin of Pt

You're right about that string, I will push an updated source string later, then we can fix it in all translations.

I've included the %1 in my translation, so i guess i won't have to review it.

no need to thank me :) You are the ones doing a great job!!! This should be default in all Desktops (isn't there a bug for this opened in Plasma/Gnome?)

maverick74 avatar Nov 28 '18 13:11 maverick74

You're right about that string, I will push an updated source string later, then we can fix it in all translations.

I've included the %1 in my translation, so i guess i won't have to review it.

The source string will change, though, so one has to retranslate anyway.

TheAssassin avatar Nov 28 '18 20:11 TheAssassin

I'm working on a major GUI remake so that will be ready soon. So please hold on translations a bit. I'll let you know when it's completed.

Is already finished GUI remake?

Lvaskz avatar Apr 04 '19 20:04 Lvaskz

Are these strings empty? https://translate.assassinate-you.net/translate/appimagelauncher/ui/zh_Hans/?checksum=12d55e5ab5145cf4

linsui avatar Apr 22 '19 08:04 linsui

@linsui it's a bug in the Qt tools. I didn't get to looking into this yet.

TheAssassin avatar Apr 23 '19 10:04 TheAssassin

It's actually not 1 bug in the Qt tools but 2 bugs in Weblate. Anyway, I've had to reinstall Weblate, upgrading didn't work at all. I've fixed the issues. Translating will work again.

TheAssassin avatar May 17 '19 10:05 TheAssassin

@linsui thanks for translating to Chinese. Please have a look also at https://translate.assassinate-you.net/projects/appimagelauncher/desktop-files/, there you can translate the desktop actions' names for updating and removing AppImages.

TheAssassin avatar May 19 '19 14:05 TheAssassin

Is this where one would add a translation that makes it so the folder "Applications" changes its name depending on the language of the system? I can't find any way to change that and every time I log onto the system, appimagelauncherd creates an "Applications" folder I do not use. I'd like to change that.

ireggiani avatar Sep 28 '19 14:09 ireggiani

Right now we have no means of translating this directory's name. Localized directory names are something quite difficult to handle. For instance, if you change your system language, AppImageLauncher would have to recognize that and rename the old directory, etc. Desktop environments have had to create lots of program code to handle these kinds of situations.

May I ask why you don't use it? If you don't use it, there's no reason to create it, hence we could just stop creating it?

Oh and please open a new issue about it. This is off topic. We can try to find a solution then.

TheAssassin avatar Sep 28 '19 14:09 TheAssassin