Re: Contributing French & Turkish translations to Pan

thraex via Pan-users <[email protected]> Wed, 2 Jul 2025 16:04:34 +0300
Newsgroups gmane.comp.gnome.apps.pan.user
Message-ID <[email protected]>

Le 02/07/2025 à 11:09, Dominique Dumont a écrit :
> On Tuesday, 1 July 2025 21:05:05 Central European Summer Time thraex via Pan-
> users wrote:

>> and I spent the last couple of days installing Fedora and getting used
> As a Debian Developer, I can't say I approve 😉

Ubuntu was a nice distro, but the mandatory use of snaps with their 
unique store and forced updates was a bit too much. Linux Mint's clem 
said it best: "Applications in this store cannot be patched, or pinned. 
You can’t audit them, hold them, modify them or even point snap to a 
different store. You’ve as much empowerment with this as if you were 
using proprietary software, i.e. none. This is in effect similar to a 
commercial proprietary solution, but with two major differences: It runs 
as root, and it installs itself without asking you."

But my FreedomBox (<https://freedombox.org/>) still runs Debian of course :)

>> While compiling Pan, I remarked a few packages should be added to Pan's
>> README for Fedora: gcc, gcc-c++ and libassuan-devel also need to be
>> installed beforehand. Besides, "cmake-gui -B std-build" was complaining
>> about errors while configuring, but after installing the ninja-build
>> package, everything was fine.
> 
> I guess that ninja-build or gmake are required.


Just for your information, there is no gmake package in Fedora:
$  dnf info gmake
Mise à jour et chargement des dépôts :
Dépôts chargés.
Aucun paquet correspondant à lister

> Anyway, I'll update Pan's README according to your feedback.

Thanks.

>> For some reason when I change the language of my desktop environment,
>> Pan remains stubbornly in English (happened both with MATE and KDE X11).
> 
> I think you need to logout/login for this change to propagate to all programs
> running in your session, including Pan.

I did that. Interestingly, under Ubuntu 24.04 the (older) package from 
the repositories switched its language according to the desktop's 
language settings, but not the "manually" compiled version. Under 
Fedora, same thing, except there's no package in the repositories.

> Pan's language is controlled by LANGUAGE environment variable (at least on my
> Debian).
> 
> You should be able to run Pan in French with this command run from a terminal:
> 
> $ LANGUAGE=fr_FR.UTF-8 pan
> 
> or
> 
> $ export LANGUAGE=fr_FR.UTF-8
> $ pan

Still in English.

> The value of LANGUAGE can depend on the locale you have configured.
> 
> I have:

Here's mine:

$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

And Pan remains in English of course... I'm a bit lost here. 
Incidentally, that prevents me from taking a screenshot for the 
documentation.

> 
>> As for the impact of the stated change and since I'm just a translator
>> and not a developer, a message about that issue is waiting in gnomefr
>> translation mailing-list, I'll make sure to keep you posted.

So a quick summary: the translations have to follow GNOME's workflow on 
Damned Lies. I had to create an account and upload Pan's translation on 
<https://l10n.gnome.org/vertimus/pan/master/po/fr/>. I guess someone 
will take care of it at some point, but I'm going to ask on the 
mailing-list anyway for details and keep you updated.

Regarding the documentation, same thing. It's been uploaded on 
<https://l10n.gnome.org/vertimus/pan/master/help/fr/> but there's a warning:

"There is no existing translation for this documentation. Damned Lies 
does not support yet the addition of new documentation po file. Please 
open a merge request on the pan project page and copy the link to this 
module activity to prove the maintainers the translated file went 
through the translation process.

You can track the implementation of this feature on gitlab.gnome.org 
(#437)."

In a separate warning, it says " Don’t know where to look for the 
DOC_LINGUAS variable, ask the module maintainer." for French and English.

Like I said, when I have more information, I'll post it but you may want 
to take a look at that page anyway.

> Thanks for your help

Thank *you* for working on Pan!



_______________________________________________
Pan-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pan-users