New po files in gimp-help repository (and release soonish)
Hi translators! We added our scripts to create a Windows installer for the manual of GIMP (project "gimp-help") directly in the repository. We also now have scripts to extract the installer strings into po files before merging them back. Therefore the strings for the installer are now localizable from the `po-windows-installer/` directory (for now only in the `gimp-help-2-10` branch, we'll port to `master` branch later): https://gitlab.gnome.org/GNOME/gimp-help/-/tree/gimp-help-2-10/po-windows-installer So first a question: what is the process to add these po files to the Damned Lies system so that it's translatable by GNOME translation teams? Second, a small pre-announcement that we are planning to make a release of the manual (`gimp-help-2-10` branch) soonish. It had been more or less dormant these years but activity really restarted lately (thanks to Jacob, new co-maintainer of gimp-help) and we want to make at least one more release of the 2.10 manual; it might not be a perfect release, but better than never. By the way, we also have a new testing website where changes on the `gimp-2-10` branch are reflected: http://testing.docs.gimp.org/ (if not mistaken, it is a daily re-build at midnight UTC) Once we will have made this release, we will likely move on to work in priority on the GIMP 3.0 documentation. In any case, we will make a proper announcement a few weeks before, with a string freeze of the docs, but I guess it's a good idea to tell you about it a bit earlier. Thanks all! Jehan -- ZeMarmot open animation film http://film.zemarmot.net Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: New po files in gimp-help repository (and release soonish)
niedz., 20 mar 2022 o 22:11 Jehan Pagès via gnome-i18n napisał(a): > > Hi translators! > > We added our scripts to create a Windows installer for the manual of GIMP > (project "gimp-help") directly in the repository. We also now have scripts to > extract the installer strings into po files before merging them back. > Therefore the strings for the installer are now localizable from the > `po-windows-installer/` directory (for now only in the `gimp-help-2-10` > branch, we'll port to `master` branch later): > https://gitlab.gnome.org/GNOME/gimp-help/-/tree/gimp-help-2-10/po-windows-installer > > So first a question: what is the process to add these po files to the Damned > Lies system so that it's translatable by GNOME translation teams? > Hi Jehan, Letting us know here or at https://gitlab.gnome.org/Infrastructure/damned-lies/-/issues is enough. I added the new files to Damned Lies, and now translators can get on it. :) I have a question though, what is hiding under the variables (%1 and %2)? Adding translator comments explaining those would make it easier to translate, if it’s technically possible. Best regards, -- Piotr Drąg ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: New po files in gimp-help repository (and release soonish)
Hi! On Sun, Mar 27, 2022 at 2:00 PM Piotr Drąg wrote: > niedz., 20 mar 2022 o 22:11 Jehan Pagès via gnome-i18n > napisał(a): > > > > Hi translators! > > > > We added our scripts to create a Windows installer for the manual of > GIMP (project "gimp-help") directly in the repository. We also now have > scripts to extract the installer strings into po files before merging them > back. Therefore the strings for the installer are now localizable from the > `po-windows-installer/` directory (for now only in the `gimp-help-2-10` > branch, we'll port to `master` branch later): > https://gitlab.gnome.org/GNOME/gimp-help/-/tree/gimp-help-2-10/po-windows-installer > > > > So first a question: what is the process to add these po files to the > Damned Lies system so that it's translatable by GNOME translation teams? > > > > Hi Jehan, > > Letting us know here or at > https://gitlab.gnome.org/Infrastructure/damned-lies/-/issues is > enough. I added the new files to Damned Lies, and now translators can > get on it. :) > Awesome. By the way, I was saying in my email that it was in ` gimp-help-2-10` only. But since then I backported the change to `master` branch too. Did you add from both? :-) > I have a question though, what is hiding under the variables (%1 and > %2)? Adding translator comments explaining those would make it easier > to translate, Sure. * In " No suitable GIMP installations were found. %1 can only be installed when GIMP %2 is already present.", %1 is replaced by the other localizable string "GIMP Help", and %2 is the minimum version (which will be major.minor, i.e. "2.10" for instance). * In "Select all installs for which you want to install %1", %1 is replaced by the localized version of "GIMP Help". if it’s technically possible. > I just tested. We extract the string with `intltool-extract` with type `gettext/ini`. Unfortunately the file is not actually an ini file (just similar), in particular comments start with `;` whereas intltool looks for comments starting with `#`. We can still do something by adding a processing step where I'd just remove `#` line from the InnoSetup lang file before feeding it to InnoSetup (and using the un-processed file for intltool tricking it into seeing an ini file). I'll have a look. Thanks! Jehan > > Best regards, > > -- > Piotr Drąg > -- ZeMarmot open animation film http://film.zemarmot.net Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: New po files in gimp-help repository (and release soonish)
niedz., 27 mar 2022 o 14:55 Jehan Pagès napisał(a): > Awesome. By the way, I was saying in my email that it was in ` > gimp-help-2-10` only. But since then I backported the change to `master` > branch too. Did you add from both? :-) > Yes, I did. :) > I just tested. We extract the string with `intltool-extract` with type > `gettext/ini`. Unfortunately the file is not actually an ini file (just > similar), in particular comments start with `;` whereas intltool looks for > comments starting with `#`. > > We can still do something by adding a processing step where I'd just remove > `#` line from the InnoSetup lang file before feeding it to InnoSetup (and > using the un-processed file for intltool tricking it into seeing an ini > file). I'll have a look. > Thanks for looking into this. If you manage to make it work, it would be nice to adapt it to the regular GIMP installer too. -- Piotr Drąg ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: New po files in gimp-help repository (and release soonish)
On Sun, Mar 27, 2022 at 3:12 PM Piotr Drąg wrote: > niedz., 27 mar 2022 o 14:55 Jehan Pagès > napisał(a): > > Awesome. By the way, I was saying in my email that it was in ` > gimp-help-2-10` only. But since then I backported the change to `master` > branch too. Did you add from both? :-) > > > > Yes, I did. :) > > > I just tested. We extract the string with `intltool-extract` with type > `gettext/ini`. Unfortunately the file is not actually an ini file (just > similar), in particular comments start with `;` whereas intltool looks for > comments starting with `#`. > > > > We can still do something by adding a processing step where I'd just > remove `#` line from the InnoSetup lang file before feeding it to InnoSetup > (and using the un-processed file for intltool tricking it into seeing an > ini file). I'll have a look. > > > > Thanks for looking into this. If you manage to make it work, it would > be nice to adapt it to the regular GIMP installer too. > I implemented this and it's now in gimp-help (both gimp-help-2-10 and master branches). When you'll update the po files, they should now have the comments on the 2 strings with % numbers. I'll do the same on the GIMP repository soon too. Jehan > -- > Piotr Drąg > -- ZeMarmot open animation film http://film.zemarmot.net Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: New po files in gimp-help repository (and release soonish)
Hi, On Mon, Mar 28, 2022 at 5:45 PM Jehan Pagès wrote: > > > On Sun, Mar 27, 2022 at 3:12 PM Piotr Drąg wrote: > >> niedz., 27 mar 2022 o 14:55 Jehan Pagès >> napisał(a): >> > Awesome. By the way, I was saying in my email that it was in ` >> gimp-help-2-10` only. But since then I backported the change to `master` >> branch too. Did you add from both? :-) >> > >> >> Yes, I did. :) >> >> > I just tested. We extract the string with `intltool-extract` with type >> `gettext/ini`. Unfortunately the file is not actually an ini file (just >> similar), in particular comments start with `;` whereas intltool looks for >> comments starting with `#`. >> > >> > We can still do something by adding a processing step where I'd just >> remove `#` line from the InnoSetup lang file before feeding it to InnoSetup >> (and using the un-processed file for intltool tricking it into seeing an >> ini file). I'll have a look. >> > >> >> Thanks for looking into this. If you manage to make it work, it would >> be nice to adapt it to the regular GIMP installer too. >> > > I implemented this and it's now in gimp-help (both gimp-help-2-10 and > master branches). When you'll update the po files, they should now have the > comments on the 2 strings with % numbers. > > I'll do the same on the GIMP repository soon too. > I forgot to notify yesterday, but `po-windows-installer` po files on GIMP `master` repository will now also contain comments when regenerated. Have a good day, all! Jehan > Jehan > > >> -- >> Piotr Drąg >> > > > -- > ZeMarmot open animation film > http://film.zemarmot.net > Liberapay: https://liberapay.com/ZeMarmot/ > Patreon: https://patreon.com/zemarmot > Tipeee: https://www.tipeee.com/zemarmot > -- ZeMarmot open animation film http://film.zemarmot.net Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot ___ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n