• =?UTF-8?Q?Debian_12_al_catal=C3=A0?=

    From SomLinux.cat@21:1/5 to All on Mon Apr 8 01:40:01 2024
    This is a multi-part message in MIME format.
    Hola,

    Faig servir Debian 12

    He intentat que m'apareguin els missatges del terminal konsole en català
    i no he sigut capaç.

    Ja he fet dpkg-reconfigure locales i està en català (l'escriptori Plasma
    sí que m'apareix en català)

    localectl

    System Locale: LANG=ca_ES.UTF-8
       VC Keymap: es
      X11 Layout: es
       X11 Model: pc105
     X11 Variant: cat

    ➜neofetch
          _,met$$$$$gg.jordan@somtic
       ,g$$$$$$$$$$$$$$$P.      -------------
     ,g$$P"     """Y$$.".OS: Debian GNU/Linux 12 (bookworm) x86_64
    ,$$P'              `$$$.Host: N2x0WU
    ',$$P       ,ggs.     `$$b:Kernel: 6.1.0-18-amd64
    `d$$'     ,$P"' .   $$$Uptime: 53 mins
    $$P      d$' ,   $$PPackages: 3615 (dpkg), 37 (flatpak), 15 (snap)
    $$:      $$. -   ,d$$'Shell: bash 5.2.15
    $$;      Y$b._   _,d$P'Resolution: 1920x1080
    Y$$. `.`"Y$$$$P"'DE: Plasma 5.27.5
    `$$b "-.__WM: KWin
     `Y$$Theme: Brisa [Plasma], Breeze [GTK3]
      `Y$$.Icons: [Plasma], Papirus-Dark [GTK2/3]
        `$$b.Terminal: konsole
          `Y$$b.CPU: Intel i5-8250U (8) @ 3.400GHz
             `"Y$b._GPU: Intel UHD Graphics 620
                 `"""Memory: 4653MiB / 7822MiB





    Moltes gràcies!

    Jordán

    --
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web:https://somlinux.cat
    Correu electrònic:[email protected]

    <!DOCTYPE html>
    <html data-lt-installed="true">
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body style="padding-bottom: 1px;">
    <p>Hola,</p>
    <p>Faig servir Debian 12</p>
    <p>He intentat que m'apareguin els missatges del terminal konsole en
    català i no he sigut capaç.</p>
    <p>Ja he fet dpkg-reconfigure locales i està en català (l'escriptori
    Plasma sí que m'apareix en català)</p>
    <p>localectl <br>
    </p>
    <p><span style="font-family:monospace"><span
    style="color:#000000;background-color:#ffffff;">System Locale:
    LANG=ca_ES.UTF-8
    </span><br>
       VC Keymap: es
    <br>
      X11 Layout: es
    <br>
       X11 Model: pc105
    <br>
     X11 Variant: cat<br>
    <br>
    </span><span style="font-family:monospace"><span style="font-weight:bold;color:#54ff54;background-color:#ffffff;">➜</span><span
    style="color:#000000;background-color:#ffffff;"> neofetch
    </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
          _,met$$$$$gg.</span><span
    style="color:#000000;background-color:#ffffff;">          </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">jordan</span><span
    style="color:#000000;background-color:#ffffff;">@</span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">somtic</span><span
    style="color:#000000;background-color:#ffffff;">  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
       ,g$$$$$$$$$$$$$$$P.</span><span
    style="color:#000000;background-color:#ffffff;">
          -------------  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
     ,g$$P"     """Y$$.".</span><span
    style="color:#000000;background-color:#ffffff;">        </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">OS</span><span
    style="color:#000000;background-color:#ffffff;">: Debian
    GNU/Linux 12 (bookworm) x86_64  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;"> ,$$P'
                 `$$$.</span><span
    style="color:#000000;background-color:#ffffff;">     </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Host</span><span
    style="color:#000000;background-color:#ffffff;">: N2x0WU  </span><br>
    <span style="font-weight:bold;color:#000000;background-color:#ffffff;">',$$P
          ,ggs.     `$$b:</span><span
    style="color:#000000;background-color:#ffffff;">   </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Kernel</span><span
    style="color:#000000;background-color:#ffffff;">:
    6.1.0-18-amd64  </span><br>
    <span style="font-weight:bold;color:#000000;background-color:#ffffff;">`d$$'
        ,$P"'   </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">.</span><span style="font-weight:bold;color:#000000;background-color:#ffffff;">    $$$</span><span
    style="color:#000000;background-color:#ffffff;">    </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Uptime</span><span
    style="color:#000000;background-color:#ffffff;">: 53 mins  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;"> $$P
         d$'     </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">,</span><span style="font-weight:bold;color:#000000;background-color:#ffffff;">    $$P</span><span
    style="color:#000000;background-color:#ffffff;">    </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Packages</span><span
    style="color:#000000;background-color:#ffffff;">: 3615 (dpkg),
    37 (flatpak), 15 (snap)  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;"> $$:
         $$.   </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">-</span><span style="font-weight:bold;color:#000000;background-color:#ffffff;">
       ,d$$'</span><span
    style="color:#000000;background-color:#ffffff;">    </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Shell</span><span
    style="color:#000000;background-color:#ffffff;">: bash 5.2.15
     </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;"> $$;
         Y$b._   _,d$P'</span><span
    style="color:#000000;background-color:#ffffff;">      </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Resolution</span><span
    style="color:#000000;background-color:#ffffff;">: 1920x1080  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;"> Y$$.
       </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">`.</span><span style="font-weight:bold;color:#000000;background-color:#ffffff;">`"Y$$$$P"'</span><span
    style="color:#000000;background-color:#ffffff;">         </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">DE</span><span
    style="color:#000000;background-color:#ffffff;">: Plasma
    5.27.5  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;"> `$$b
         </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">"-.__</span><span
    style="color:#000000;background-color:#ffffff;">              </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">WM</span><span
    style="color:#000000;background-color:#ffffff;">: KWin  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">  `Y$$</span><span
    style="color:#000000;background-color:#ffffff;">
                           </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Theme</span><span
    style="color:#000000;background-color:#ffffff;">: Brisa
    [Plasma], Breeze [GTK3]  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
      `Y$$.</span><span
    style="color:#000000;background-color:#ffffff;">
                         </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Icons</span><span
    style="color:#000000;background-color:#ffffff;">: [Plasma],
    Papirus-Dark [GTK2/3]  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
        `$$b.</span><span
    style="color:#000000;background-color:#ffffff;">
                       </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Terminal</span><span
    style="color:#000000;background-color:#ffffff;">: konsole  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
          `Y$$b.</span><span
    style="color:#000000;background-color:#ffffff;">
                    </span><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">CPU</span><span
    style="color:#000000;background-color:#ffffff;">: Intel
    i5-8250U (8) @ 3.400GHz  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
             `"Y$b._</span><span
    style="color:#000000;background-color:#ffffff;">             </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">GPU</span><span
    style="color:#000000;background-color:#ffffff;">: Intel UHD
    Graphics 620  </span><br>
    <span
    style="font-weight:bold;color:#000000;background-color:#ffffff;">
                 `"""</span><span
    style="color:#000000;background-color:#ffffff;">            </span><span
    style="font-weight:bold;color:#ff5454;background-color:#ffffff;">Memory</span><span
    style="color:#000000;background-color:#ffffff;">: 4653MiB /
    7822MiB  </span><br>
    <br>
                                 <span
    style="color:#000000;background-color:#000000;">   </span><span
    style="color:#b21818;background-color:#b21818;">   </span><span
    style="color:#18b218;background-color:#18b218;">   </span><span
    style="color:#b26818;background-color:#b26818;">   </span><span
    style="color:#1818b2;background-color:#1818b2;">   </span><span
    style="color:#b218b2;background-color:#b218b2;">   </span><span
    style="color:#18b2b2;background-color:#18b2b2;">   </span><span
    style="color:#b2b2b2;background-color:#b2b2b2;">   </span><span
    style="color:#000000;background-color:#ffffff;"> </span><br>
                                 <span
    style="color:#686868;background-color:#686868;">   </span><span
    style="color:#ff5454;background-color:#ff5454;">   </span><span
    style="color:#54ff54;background-color:#54ff54;">   </span><span
    style="color:#ffff54;background-color:#ffff54;">   </span><span
    style="color:#5454ff;background-color:#5454ff;">   </span><span
    style="color:#ff54ff;background-color:#ff54ff;">   </span><span
    style="color:#54ffff;background-color:#54ffff;">   </span><span
    style="color:#ffffff;background-color:#ffffff;">   </span><span
    style="color:#000000;background-color:#ffffff;"> </span><br>
    <br>
    <br>
    Moltes gràcies!</span></p>
    <p><span style="font-family:monospace">Jordán<br>
    </span></p>
    <pre class="moz-signature" cols="72">--
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web: <a class="moz-txt-link-freetext" href="https://somlinux.cat">https://somlinux.cat</a>
    Correu electrònic: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a></pre>
    </body>
    <lt-container></lt-container>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Narcis Garcia@21:1/5 to All on Wed Apr 10 08:10:01 2024
    Bon dia Jordán,

    Assegura't que tens instal·lat aquest paquet:
    $ sudo apt install task-catalan

    També que la variable d'entorn LANGUAGE té el mateix idioma que la LANG:
    $ echo $LANGUAGE


    El 8/4/24 a les 1:05, SomLinux.cat ha escrit:
    Hola,

    Faig servir Debian 12

    He intentat que m'apareguin els missatges del terminal konsole en català
    i no he sigut capaç.

    Ja he fet dpkg-reconfigure locales i està en català (l'escriptori Plasma sí que m'apareix en català)

    localectl

    System Locale: LANG=ca_ES.UTF-8
       VC Keymap: es
      X11 Layout: es
       X11 Model: pc105
     X11 Variant: cat

    ➜neofetch
          _,met$$$$$gg.jordan@somtic
       ,g$$$$$$$$$$$$$$$P.      -------------
     ,g$$P"     """Y$$.".OS: Debian GNU/Linux 12 (bookworm) x86_64
    ,$$P'              `$$$.Host: N2x0WU
    ',$$P       ,ggs.     `$$b:Kernel: 6.1.0-18-amd64
    `d$$'     ,$P"' .   $$$Uptime: 53 mins
    $$P      d$' ,   $$PPackages: 3615 (dpkg), 37 (flatpak), 15 (snap) $$:      $$. -   ,d$$'Shell: bash 5.2.15
    $$;      Y$b._   _,d$P'Resolution: 1920x1080
    Y$$. `.`"Y$$$$P"'DE: Plasma 5.27.5
    `$$b "-.__WM: KWin
     `Y$$Theme: Brisa [Plasma], Breeze [GTK3]
      `Y$$.Icons: [Plasma], Papirus-Dark [GTK2/3]
        `$$b.Terminal: konsole
          `Y$$b.CPU: Intel i5-8250U (8) @ 3.400GHz
             `"Y$b._GPU: Intel UHD Graphics 620
                 `"""Memory: 4653MiB / 7822MiB





    Moltes gràcies!

    Jordán

    --
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web:https://somlinux.cat
    Correu electrònic:[email protected]


    --

    Narcis Garcia

    __________
    I'm using this dedicated address because personal addresses aren't
    masked enough at this mail public archive. Public archive administrator
    should remove and omit any @, dot and mailto combinations against
    automated addresses collectors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Narcis Garcia@21:1/5 to All on Wed Apr 10 15:10:01 2024
    Sobre les pàgines de manual, veig que hi ha el paquet manpages-es però
    no el manpages-ca

    Sobre les eines de gestió de paquets, només veig el aptitude que estigui traduït al català.
    Prova:
    $ aptitude show aptitude


    El 10/4/24 a les 10:17, SomLinux.cat ha escrit:
    Bon dia Narcís,

    No tenia el paquet task-catalan instal·lat.

    i a $LANGUAGE

    echo $LANGUAGE
    ca:en_US

    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    ➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en castellà, pel man, o per apt. Potser, no hi ha traducció al català per Debian 12?

    No és greu, però ho volia per si feia captures de pantalla del terminal
    per fer manuals que sortís en català.

    Moltes gràcies

    Salutacions,

    Jordán

    El 10/4/24 a les 8:08, Narcis Garcia ha escrit:
    Bon dia Jordán,

    Assegura't que tens instal·lat aquest paquet:
    $ sudo apt install task-catalan

    També que la variable d'entorn LANGUAGE té el mateix idioma que la LANG: >> $ echo $LANGUAGE


    El 8/4/24 a les 1:05, SomLinux.cat ha escrit:
    Hola,

    Faig servir Debian 12

    He intentat que m'apareguin els missatges del terminal konsole en
    català i no he sigut capaç.

    Ja he fet dpkg-reconfigure locales i està en català (l'escriptori
    Plasma sí que m'apareix en català)

    localectl

    System Locale: LANG=ca_ES.UTF-8
        VC Keymap: es
       X11 Layout: es
        X11 Model: pc105
      X11 Variant: cat

    ➜neofetch
           _,met$$$$$gg.jordan@somtic
        ,g$$$$$$$$$$$$$$$P.      -------------
      ,g$$P"     """Y$$.".OS: Debian GNU/Linux 12 (bookworm) x86_64
    ,$$P'              `$$$.Host: N2x0WU
    ',$$P       ,ggs.     `$$b:Kernel: 6.1.0-18-amd64
    `d$$'     ,$P"' .   $$$Uptime: 53 mins
    $$P      d$' ,   $$PPackages: 3615 (dpkg), 37 (flatpak), 15 (snap) >>> $$:      $$. -   ,d$$'Shell: bash 5.2.15
    $$;      Y$b._   _,d$P'Resolution: 1920x1080
    Y$$. `.`"Y$$$$P"'DE: Plasma 5.27.5
    `$$b "-.__WM: KWin
      `Y$$Theme: Brisa [Plasma], Breeze [GTK3]
       `Y$$.Icons: [Plasma], Papirus-Dark [GTK2/3]
         `$$b.Terminal: konsole
           `Y$$b.CPU: Intel i5-8250U (8) @ 3.400GHz
              `"Y$b._GPU: Intel UHD Graphics 620
                  `"""Memory: 4653MiB / 7822MiB





    Moltes gràcies!

    Jordán

    --
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web:https://somlinux.cat
    Correu electrònic:[email protected]


    --
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web:https://somlinux.cat
    Correu electrònic:[email protected]


    --


    __________
    I'm using this express-made address because personal addresses aren't
    masked enough at this mail public archive. Public archive administrator
    should fix this against automated addresses collectors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SomLinux.cat@21:1/5 to All on Wed Apr 10 23:50:01 2024
    This is a multi-part message in MIME format.
    Bones,

    Quan poso LANGUAGE=ca:es:en_US hi ha coses que m'apareixen en català,
    però poques. Les dates d'arxius.

    Sí, a dpkg-reconfigure locales vaig triar sols ca_ES.UTF-8 . He provat
    també de posar el valencià, a veure si sonava la flauta, però res. L'he tret.

    Doncs en aquest directori /usr/share/locale/ca/LC_MESSAGES/ no tinc
    coreutils

    total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 . drwxr-xr-x 3
    root root 4096 de nov. 15 18:02 .. -rw-r--r-- 1 root root 36516 de nov.
    5 23:33 bleachbit.mo -rw-r--r-- 1 root root 11557 de des. 12 2022
    cheese.mo -rw-r--r-- 1 root root 55052 de des. 27 2021 clutter-1.0.mo -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo -rw-r--r-- 1 root
    root 172612 de des. 22 12:35 filezilla.mo -rw-r--r-- 1 root root 41061
    d’ag. 2 2023 firewalld.mo -rw-r--r-- 1 root root 45995 de des. 2 14:31 gimp20-libgimp.mo -rw-r--r-- 1 root root 509827 de des. 2 14:31
    gimp20.mo -rw-r--r-- 1 root root 15528 de des. 2 14:31 gimp20-python.mo -rw-r--r-- 1 root root 28572 de des. 2 14:31 gimp20-script-fu.mo
    -rw-r--r-- 1 root root 210994 de des. 2 14:31 gimp20-std-plug-ins.mo
    -rw-r--r-- 1 root root 3885 de març 5 2023 gnome-desktop-3.0.mo
    -rw-r--r-- 1 root root 1666 de gen. 27 07:41 gst-plugins-bad-1.0.mo
    -rw-r--r-- 1 root root 40559 de gen. 9 2023 gvfs.mo -rw-r--r-- 1 root
    root 180871 de març 1 2023 konversation.mo -rw-r--r-- 1 root root 149171
    de gen. 23 21:57 libc.mo -rw-r--r-- 1 root root 16973 de febr. 1 2023 libhandy.mo -rw-r--r-- 1 root root 3309 d’ag. 31 2021 libvirt-glib.mo -rw-r--r-- 1 root root 34194 de maig 21 2023 libvirt.mo -rw-r--r-- 1
    root root 81365 de març 1 2023 lokalize.mo -rw-r--r-- 1 root root 7591 d’oct. 23 10:47 pipewire.mo -rw-r--r-- 1 root root 63008 de gen. 21 2023 remmina.mo -rw-r--r-- 1 root root 18141 de gen. 26 22:48 systemd.mo
    -rw-r--r-- 1 root root 64091 de gen. 20 10:27 tar.mo -rw-r--r-- 1 root
    root 33113 de març 28 10:52 util-linux.mo -rw-r--r-- 1 root root 11548
    d’ag. 2 2022 virt-viewer.mo -rw-r--r-- 1 root root 1345 d’ag. 9 2023 vte-2.91.mo -rw-r--r-- 1 root root 12013 de febr. 8 13:07
    WebKitGTK-4.0.mo -rw-r--r-- 1 root root 12013 de febr. 8 13:07
    WebKitGTK-4.1.mo -rw-r--r-- 1 root root 6717 de set. 19 2022 yelp.mo


    Moltes gràcies per les molèsties, però no us amoïneu.

    El 10/4/24 a les 20:53, Xavier Drudis Ferran ha escrit:
    El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis Garcia deia:
    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    Sense $ però ja ho saps.

    ➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en castellà, pel >>> man, o per apt. Potser, no hi ha traducció al català per Debian 12?

    Jo tant amb LANGUAGE=ca:es:en_US
    com amb LANGUAGE=

    si faig
    df
    em surten les capçaleres en català.

    si poso export LANGUAGE=es:ca:en_US
    em surten en castellà.

    Quan vas fer dpkg-reconfigure locales
    ja vas triar ca_ES.UTF-8, oi ? O vas triar algun altre ca ?

    No és greu, però ho volia per si feia captures de pantalla del terminal >>> per fer manuals que sortís en català.

    Igual dic una bestiesa.
    Però tu fas servir coreutils o rust-coreutils ?
    Jo faig servir coreutils.

    Si miro strace df quan tinc el català configurat veig que llegeix

    openat(AT_FDCWD, "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3

    i efectivament a https://packages.debian.org/bookworm/arm64/coreutils/filelist
    surt el fitxer de traduccions de coreutils
    Però si miro https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist

    no veig cap fitxer de traducció ni res a /usr/share/locale (per cap llengua)

    <!DOCTYPE html>
    <html data-lt-installed="true">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body style="padding-bottom: 1px;">
    <p>Bones, <br>
    </p>
    <p>Quan poso LANGUAGE=ca:es:en_US hi ha coses que m'apareixen en
    català, però poques. Les dates d'arxius.</p>
    <p>Sí, a dpkg-reconfigure locales vaig triar sols ca_ES.UTF-8 . He
    provat també de posar el valencià, a veure si sonava la flauta,
    però res. L'he tret.</p>
    <p>Doncs en aquest directori <span style="white-space: pre-wrap">/usr/share/locale/ca/LC_MESSAGES/ no tinc coreutils </span></p>
    <p><span style="white-space: pre-wrap"><font face="monospace">total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 .
    drwxr-xr-x 3 root root 4096 de nov. 15 18:02 ..
    -rw-r--r-- 1 root root 36516 de nov. 5 23:33 bleachbit.mo
    -rw-r--r-- 1 root root 11557 de des. 12 2022 cheese.mo
    -rw-r--r-- 1 root root 55052 de des. 27 2021 clutter-1.0.mo
    -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo
    -rw-r--r-- 1 root root 172612 de des. 22 12:35 filezilla.mo
    -rw-r--r-- 1 root root 41061 d’ag. 2 2023 firewalld.mo
    -rw-r--r-- 1 root root 45995 de des. 2 14:31 gimp20-libgimp.mo
    -rw-r--r-- 1 root root 509827 de des. 2 14:31 gimp20.mo
    -rw-r--r-- 1 root root 15528 de des. 2 14:31 gimp20-python.mo
    -rw-r--r-- 1 root root 28572 de des. 2 14:31 gimp20-script-fu.mo
    -rw-r--r-- 1 root root 210994 de des. 2 14:31 gimp20-std-plug-ins.mo -rw-r--r-- 1 root root 3885 de març 5 2023 gnome-desktop-3.0.mo -rw-r--r-- 1 root root 1666 de gen. 27 07:41 gst-plugins-bad-1.0.mo -rw-r--r-- 1 root root 40559 de gen. 9 2023 gvfs.mo
    -rw-r--r-- 1 root root 180871 de març 1 2023 konversation.mo
    -rw-r--r-- 1 root root 149171 de gen. 23 21:57 libc.mo
    -rw-r--r-- 1 root root 16973 de febr. 1 2023 libhandy.mo
    -rw-r--r-- 1 root root 3309 d’ag. 31 2021 libvirt-glib.mo
    -rw-r--r-- 1 root root 34194 de maig 21 2023 libvirt.mo
    -rw-r--r-- 1 root root 81365 de març 1 2023 lokalize.mo
    -rw-r--r-- 1 root root 7591 d’oct. 23 10:47 pipewire.mo
    -rw-r--r-- 1 root root 63008 de gen. 21 2023 remmina.mo
    -rw-r--r-- 1 root root 18141 de gen. 26 22:48 systemd.mo
    -rw-r--r-- 1 root root 64091 de gen. 20 10:27 tar.mo
    -rw-r--r-- 1 root root 33113 de març 28 10:52 util-linux.mo
    -rw-r--r-- 1 root root 11548 d’ag. 2 2022 virt-viewer.mo
    -rw-r--r-- 1 root root 1345 d’ag. 9 2023 vte-2.91.mo
    -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.0.mo
    -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.1.mo
    -rw-r--r-- 1 root root 6717 de set. 19 2022 yelp.mo
    </font></span></p>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Moltes gràcies per les molèsties, però
    no us amoïneu.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">El 10/4/24 a les 20:53, Xavier Drudis
    Ferran ha escrit:<br>
    </div>
    <blockquote type="cite"
    cite="mid:[email protected]">
    <pre class="moz-quote-pre" wrap="">El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis Garcia deia:
    </pre>
    <blockquote type="cite">
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">
    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    </pre>
    </blockquote>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Sense $ però ja ho saps.

    </pre>
    <blockquote type="cite">
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en castellà, pel
    man, o per apt. Potser, no hi ha traducció al català per Debian 12?

    </pre>
    </blockquote>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Jo tant amb LANGUAGE=ca:es:en_US
    com amb LANGUAGE=

    si faig
    df
    em surten les capçaleres en català.

    si poso export LANGUAGE=es:ca:en_US
    em surten en castellà.

    Quan vas fer dpkg-reconfigure locales
    ja vas triar ca_ES.UTF-8, oi ? O vas triar algun altre ca ?

    </pre>
    <blockquote type="cite">
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">No és greu, però ho volia per si feia captures de pantalla del terminal
    per fer manuals que sortís en català.

    </pre>
    </blockquote>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Igual dic una bestiesa.
    Però tu fas servir coreutils o rust-coreutils ?
    Jo faig servir coreutils.

    Si miro strace df quan tinc el català configurat veig que llegeix

    openat(AT_FDCWD, "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3

    i efectivament a
    <a class="moz-txt-link-freetext" href="https://packages.debian.org/bookworm/arm64/coreutils/filelist">https://packages.debian.org/bookworm/arm64/coreutils/filelist</a>
    surt el fitxer de traduccions de coreutils
    Però si miro
    <a class="moz-txt-link-freetext" href="https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist">https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist</a>

    no veig cap fitxer de traducció ni res a /usr/share/locale (per cap llengua)</pre>
    </blockquote>
    <br>
    </body>
    <lt-container></lt-container>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Narcis Garcia@21:1/5 to All on Thu Apr 11 08:40:01 2024
    Hi ha programes que utilitzen la variable LANG i d'altres que utilitzen
    la variable LANGUAGE per a determinar l'idioma d'usuari.
    Per això convé tenir configurades ambdues.

    Veig que, si tens instal·lat el paquet coreutils, aleshores has de tenir
    el fitxer de traduccions:
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    de tota manera aquesta traducció només implica alguns programes
    essencials, els que porta coreutils:
    cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir mknod
    mktemp mv pwd readlink rm rmdir sleep stty sync touch true uname vdir [
    arch b2sum base32 base64 basename basenc chcon cksum comm csplit cut
    dircolors dirname du env expand expr factor fmt fold groups head hostid
    id install join link logname md5sum mkfifo nice nl nohup nproc numfmt od
    paste pathchk pinky pr printenv printf ptx realpath runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sort split stat
    stdbuf sum tac tail tee test timeout tr truncate tsort tty unexpand uniq
    unlink users wc who whoami yes chroot md5sum.textutils

    Veig que apt també compta amb la el seu fitxer de traducció al mateix lloc: /usr/share/locale/ca/LC_MESSAGES/apt.mo
    (una altra cosa és que aquest fitxer ho tradueixi tot)
    aquesta traducció implicaria els programes del paquet:
    apt apt-cache apt-cdrom apt-config apt-get apt-key apt-mark


    El 10/4/24 a les 23:49, SomLinux.cat ha escrit:
    Bones,

    Quan poso LANGUAGE=ca:es:en_US hi ha coses que m'apareixen en català,
    però poques. Les dates d'arxius.

    Sí, a dpkg-reconfigure locales vaig triar sols ca_ES.UTF-8 . He provat també de posar el valencià, a veure si sonava la flauta, però res. L'he tret.

    Doncs en aquest directori /usr/share/locale/ca/LC_MESSAGES/ no tinc
    coreutils

    total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 . drwxr-xr-x 3
    root root 4096 de nov. 15 18:02 .. -rw-r--r-- 1 root root 36516 de nov.
    5 23:33 bleachbit.mo -rw-r--r-- 1 root root 11557 de des. 12 2022
    cheese.mo -rw-r--r-- 1 root root 55052 de des. 27 2021 clutter-1.0.mo -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo -rw-r--r-- 1 root
    root 172612 de des. 22 12:35 filezilla.mo -rw-r--r-- 1 root root 41061 d’ag. 2 2023 firewalld.mo -rw-r--r-- 1 root root 45995 de des. 2 14:31 gimp20-libgimp.mo -rw-r--r-- 1 root root 509827 de des. 2 14:31
    gimp20.mo -rw-r--r-- 1 root root 15528 de des. 2 14:31 gimp20-python.mo -rw-r--r-- 1 root root 28572 de des. 2 14:31 gimp20-script-fu.mo
    -rw-r--r-- 1 root root 210994 de des. 2 14:31 gimp20-std-plug-ins.mo -rw-r--r-- 1 root root 3885 de març 5 2023 gnome-desktop-3.0.mo
    -rw-r--r-- 1 root root 1666 de gen. 27 07:41 gst-plugins-bad-1.0.mo -rw-r--r-- 1 root root 40559 de gen. 9 2023 gvfs.mo -rw-r--r-- 1 root
    root 180871 de març 1 2023 konversation.mo -rw-r--r-- 1 root root 149171
    de gen. 23 21:57 libc.mo -rw-r--r-- 1 root root 16973 de febr. 1 2023 libhandy.mo -rw-r--r-- 1 root root 3309 d’ag. 31 2021 libvirt-glib.mo -rw-r--r-- 1 root root 34194 de maig 21 2023 libvirt.mo -rw-r--r-- 1
    root root 81365 de març 1 2023 lokalize.mo -rw-r--r-- 1 root root 7591 d’oct. 23 10:47 pipewire.mo -rw-r--r-- 1 root root 63008 de gen. 21 2023 remmina.mo -rw-r--r-- 1 root root 18141 de gen. 26 22:48 systemd.mo -rw-r--r-- 1 root root 64091 de gen. 20 10:27 tar.mo -rw-r--r-- 1 root
    root 33113 de març 28 10:52 util-linux.mo -rw-r--r-- 1 root root 11548 d’ag. 2 2022 virt-viewer.mo -rw-r--r-- 1 root root 1345 d’ag. 9 2023 vte-2.91.mo -rw-r--r-- 1 root root 12013 de febr. 8 13:07
    WebKitGTK-4.0.mo -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.1.mo -rw-r--r-- 1 root root 6717 de set. 19 2022 yelp.mo


    Moltes gràcies per les molèsties, però no us amoïneu.

    El 10/4/24 a les 20:53, Xavier Drudis Ferran ha escrit:
    El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis Garcia deia:
    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    Sense $ però ja ho saps.

    ➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en castellà, pel >>>> man, o per apt. Potser, no hi ha traducció al català per Debian 12?

    Jo tant amb LANGUAGE=ca:es:en_US
    com amb LANGUAGE=

    si faig
    df
    em surten les capçaleres en català.

    si poso export LANGUAGE=es:ca:en_US
    em surten en castellà.

    Quan vas fer dpkg-reconfigure locales
    ja vas triar ca_ES.UTF-8, oi ? O vas triar algun altre ca ?

    No és greu, però ho volia per si feia captures de pantalla del terminal >>>> per fer manuals que sortís en català.

    Igual dic una bestiesa.
    Però tu fas servir coreutils o rust-coreutils ?
    Jo faig servir coreutils.

    Si miro strace df quan tinc el català configurat veig que llegeix

    openat(AT_FDCWD, "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3

    i efectivament a
    https://packages.debian.org/bookworm/arm64/coreutils/filelist
    surt el fitxer de traduccions de coreutils
    Però si miro
    https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist

    no veig cap fitxer de traducció ni res a /usr/share/locale (per cap llengua)


    --

    Narcis Garcia

    __________
    I'm using this dedicated address because personal addresses aren't
    masked enough at this mail public archive. Public archive administrator
    should remove and omit any @, dot and mailto combinations against
    automated addresses collectors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Narcis Garcia on Thu Apr 11 10:00:01 2024
    Coreutils està, entenc que per defecte a Debian.
    I tinc molts coreutils d'altres idiomes, pero a /ca/ no.
    jordan@somtic /🔒
    ❯ dpkg -S coreutils
    coreutils: /usr/share/locale/sv/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/pt/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/lg/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/nb/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ia/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/ja/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/sl/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/kk/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/sv/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ms/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/sr/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/af/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/ru/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/nl/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ga/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/de/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/zh_TW/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/et/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/cs/LC_MESSAGES/coreutils.mo

    alguna cosa rara està passant al meu sistema....

    On 11/4/24 8:38, Narcis Garcia <[email protected]> wrote:
    Hi ha programes que utilitzen la variable LANG i d'altres que utilitzen
    la variable LANGUAGE per a determinar l'idioma d'usuari.
    Per això convé tenir configurades ambdues.

    Veig que, si tens instal·lat el paquet coreutils, aleshores has de tenir
    el fitxer de traduccions:
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    de tota manera aquesta traducció només implica alguns programes
    essencials, els que porta coreutils:
    cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir mknod
    mktemp mv pwd readlink rm rmdir sleep stty sync touch true uname vdir [
    arch b2sum base32 base64 basename basenc chcon cksum comm csplit cut dircolors dirname du env expand expr factor fmt fold groups head hostid
    id install join link logname md5sum mkfifo nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx realpath runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sort split stat
    stdbuf sum tac tail tee test timeout tr truncate tsort tty unexpand uniq unlink users wc who whoami yes chroot md5sum.textutils

    Veig que apt també compta amb la el seu fitxer de traducció al mateix lloc: /usr/share/locale/ca/LC_MESSAGES/apt.mo
    (una altra cosa és que aquest fitxer ho tradueixi tot)
    aquesta traducció implicaria els programes del paquet:
    apt apt-cache apt-cdrom apt-config apt-get apt-key apt-mark


    El 10/4/24 a les 23:49, SomLinux.cat ha escrit:
    Bones,

    Quan poso LANGUAGE=ca:es:en_US hi ha coses que m'apareixen en català, però poques. Les dates d'arxius.

    Sí, a dpkg-reconfigure locales vaig triar sols ca_ES.UTF-8 . He provat també de posar el valencià, a veure si sonava la flauta, però res.
    L'he tret.

    Doncs en aquest directori /usr/share/locale/ca/LC_MESSAGES/ no tinc coreutils

    total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 . drwxr-xr-x 3
    root root 4096 de nov. 15 18:02 .. -rw-r--r-- 1 root root 36516 de
    nov. 5 23:33 bleachbit.mo -rw-r--r-- 1 root root 11557 de des. 12 2022 cheese.mo -rw-r--r-- 1 root root 55052 de des. 27 2021 clutter-1.0.mo -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo -rw-r--r-- 1 root
    root 172612 de des. 22 12:35 filezilla.mo -rw-r--r-- 1 root root 41061 d’ag. 2 2023 firewalld.mo -rw-r--r-- 1 root root 45995 de des. 2 14:31 gimp20-libgimp.mo -rw-r--r-- 1 root root 509827 de des. 2 14:31
    gimp20.mo -rw-r--r-- 1 root root 15528 de des. 2 14:31
    gimp20-python.mo -rw-r--r-- 1 root root 28572 de des. 2 14:31 gimp20-script-fu.mo -rw-r--r-- 1 root root 210994 de des. 2 14:31 gimp20-std-plug-ins.mo -rw-r--r-- 1 root root 3885 de març 5 2023 gnome-desktop-3.0.mo -rw-r--r-- 1 root root 1666 de gen. 27 07:41 gst-plugins-bad-1.0.mo -rw-r--r-- 1 root root 40559 de gen. 9 2023
    gvfs.mo -rw-r--r-- 1 root root 180871 de març 1 2023 konversation.mo -rw-r--r-- 1 root root 149171 de gen. 23 21:57 libc.mo -rw-r--r-- 1
    root root 16973 de febr. 1 2023 libhandy.mo -rw-r--r-- 1 root root
    3309 d’ag. 31 2021 libvirt-glib.mo -rw-r--r-- 1 root root 34194 de
    maig 21 2023 libvirt.mo -rw-r--r-- 1 root root 81365 de març 1 2023 lokalize.mo -rw-r--r-- 1 root root 7591 d’oct. 23 10:47 pipewire.mo -rw-r--r-- 1 root root 63008 de gen. 21 2023 remmina.mo -rw-r--r-- 1
    root root 18141 de gen. 26 22:48 systemd.mo -rw-r--r-- 1 root root
    64091 de gen. 20 10:27 tar.mo -rw-r--r-- 1 root root 33113 de març 28 10:52 util-linux.mo -rw-r--r-- 1 root root 11548 d’ag. 2 2022 virt-viewer.mo -rw-r--r-- 1 root root 1345 d’ag. 9 2023 vte-2.91.mo -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.0.mo
    -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.1.mo
    -rw-r--r-- 1 root root 6717 de set. 19 2022 yelp.mo


    Moltes gràcies per les molèsties, però no us amoïneu.

    El 10/4/24 a les 20:53, Xavier Drudis Ferran ha escrit:
    El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis Garcia deia:
    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    Sense $ però ja ho saps.

    ➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en
    castellà, pel
    man, o per apt. Potser, no hi ha traducció al català per Debian 12? >>>>
    Jo tant amb LANGUAGE=ca:es:en_US
    com amb LANGUAGE=

    si faig
    df
    em surten les capçaleres en català.

    si poso export LANGUAGE=es:ca:en_US
    em surten en castellà.

    Quan vas fer dpkg-reconfigure locales
    ja vas triar ca_ES.UTF-8, oi ? O vas triar algun altre ca ?

    No és greu, però ho volia per si feia captures de pantalla del
    terminal
    per fer manuals que sortís en català.

    Igual dic una bestiesa.
    Però tu fas servir coreutils o rust-coreutils ?
    Jo faig servir coreutils.

    Si miro strace df quan tinc el català configurat veig que llegeix

    openat(AT_FDCWD, "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo",
    O_RDONLY) = 3

    i efectivament a
    https://packages.debian.org/bookworm/arm64/coreutils/filelist
    surt el fitxer de traduccions de coreutils
    Però si miro
    https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist

    no veig cap fitxer de traducció ni res a /usr/share/locale (per cap
    llengua)




    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Narcis Garcia@21:1/5 to All on Thu Apr 11 11:00:01 2024
    Prova:
    $ sudo apt-get update
    $ sudo apt-get --reinstall install coreutils

    I mira el què portava el paquet:
    $ dpkg -L coreutils | grep -e '/ca/'


    El 11/4/24 a les 9:50, [email protected] ha escrit:
    Coreutils està, entenc que per defecte a Debian. I tinc molts coreutils d'altres idiomes, pero a /ca/ no.
    jordan@somtic /🔒 ❯ dpkg -S coreutils
    coreutils: /usr/share/locale/sv/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/pt/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/lg/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/nb/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ia/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/ja/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/sl/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/kk/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/sv/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ms/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/sr/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/af/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/ru/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/nl/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ga/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/de/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/zh_TW/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/et/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/cs/LC_MESSAGES/coreutils.mo

    alguna cosa rara està passant al meu sistema....
    On 11/4/24 8:38, Narcis Garcia <[email protected]> wrote:
    Hi ha programes que utilitzen la variable LANG i d'altres que
    utilitzen la variable LANGUAGE per a determinar l'idioma d'usuari.
    Per això convé tenir configurades ambdues.

    Veig que, si tens instal·lat el paquet coreutils, aleshores has de
    tenir el fitxer de traduccions:
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    de tota manera aquesta traducció només implica alguns programes
    essencials, els que porta coreutils:
    cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir mknod
    mktemp mv pwd readlink rm rmdir sleep stty sync touch true uname vdir
    [ arch b2sum base32 base64 basename basenc chcon cksum comm csplit cut
    dircolors dirname du env expand expr factor fmt fold groups head
    hostid id install join link logname md5sum mkfifo nice nl nohup nproc
    numfmt od paste pathchk pinky pr printenv printf ptx realpath runcon
    seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sort
    split stat stdbuf sum tac tail tee test timeout tr truncate tsort tty
    unexpand uniq unlink users wc who whoami yes chroot md5sum.textutils

    Veig que apt també compta amb la el seu fitxer de traducció al mateix
    lloc:
    /usr/share/locale/ca/LC_MESSAGES/apt.mo
    (una altra cosa és que aquest fitxer ho tradueixi tot)
    aquesta traducció implicaria els programes del paquet:
    apt apt-cache apt-cdrom apt-config apt-get apt-key apt-mark


    El 10/4/24 a les 23:49, SomLinux.cat ha escrit:
    Bones,

    Quan poso LANGUAGE=ca:es:en_US hi ha coses que m'apareixen en
    català, > però poques. Les dates d'arxius.

    Sí, a dpkg-reconfigure locales vaig triar sols ca_ES.UTF-8 . He
    provat > també de posar el valencià, a veure si sonava la flauta, però
    res. > L'he tret.

    Doncs en aquest directori /usr/share/locale/ca/LC_MESSAGES/ no tinc
    coreutils

    total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 . drwxr-xr-x 3
    root root 4096 de nov. 15 18:02 .. -rw-r--r-- 1 root root 36516 de >
    nov. 5 23:33 bleachbit.mo -rw-r--r-- 1 root root 11557 de des. 12 2022
    cheese.mo -rw-r--r-- 1 root root 55052 de des. 27 2021
    clutter-1.0.mo > -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo
    -rw-r--r-- 1 root > root 172612 de des. 22 12:35 filezilla.mo
    -rw-r--r-- 1 root root 41061 > d’ag. 2 2023 firewalld.mo -rw-r--r-- 1
    root root 45995 de des. 2 14:31 > gimp20-libgimp.mo -rw-r--r-- 1 root
    root 509827 de des. 2 14:31 > gimp20.mo -rw-r--r-- 1 root root 15528
    de des. 2 14:31 > gimp20-python.mo -rw-r--r-- 1 root root 28572 de
    des. 2 14:31 > gimp20-script-fu.mo -rw-r--r-- 1 root root 210994 de
    des. 2 14:31 > gimp20-std-plug-ins.mo -rw-r--r-- 1 root root 3885 de
    març 5 2023 > gnome-desktop-3.0.mo -rw-r--r-- 1 root root 1666 de gen.
    27 07:41 > gst-plugins-bad-1.0.mo -rw-r--r-- 1 root root 40559 de gen.
    9 2023 > gvfs.mo -rw-r--r-- 1 root root 180871 de març 1 2023
    konversation.mo > -rw-r--r-- 1 root root 149171 de gen. 23 21:57
    libc.mo -rw-r--r-- 1 > root root 16973 de febr. 1 2023 libhandy.mo
    -rw-r--r-- 1 root root > 3309 d’ag. 31 2021 libvirt-glib.mo -rw-r--r--
    1 root root 34194 de > maig 21 2023 libvirt.mo -rw-r--r-- 1 root root
    81365 de març 1 2023 > lokalize.mo -rw-r--r-- 1 root root 7591 d’oct.
    23 10:47 pipewire.mo > -rw-r--r-- 1 root root 63008 de gen. 21 2023
    remmina.mo -rw-r--r-- 1 > root root 18141 de gen. 26 22:48 systemd.mo
    -rw-r--r-- 1 root root > 64091 de gen. 20 10:27 tar.mo -rw-r--r-- 1
    root root 33113 de març 28 > 10:52 util-linux.mo -rw-r--r-- 1 root
    root 11548 d’ag. 2 2022 > virt-viewer.mo -rw-r--r-- 1 root root 1345
    d’ag. 9 2023 vte-2.91.mo > -rw-r--r-- 1 root root 12013 de febr. 8
    13:07 WebKitGTK-4.0.mo > -rw-r--r-- 1 root root 12013 de febr. 8 13:07
    WebKitGTK-4.1.mo > -rw-r--r-- 1 root root 6717 de set. 19 2022 yelp.mo


    Moltes gràcies per les molèsties, però no us amoïneu.

    El 10/4/24 a les 20:53, Xavier Drudis Ferran ha escrit:
    El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis Garcia deia:
    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    Sense $ però ja ho saps.

    ➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en >>>>
    castellà, pel
    man, o per apt. Potser, no hi ha traducció al català per Debian 12? >> >>>>
    Jo tant amb LANGUAGE=ca:es:en_US
    com amb LANGUAGE=

    si faig
    df
    em surten les capçaleres en català.

    si poso export LANGUAGE=es:ca:en_US
    em surten en castellà.

    Quan vas fer dpkg-reconfigure locales
    ja vas triar ca_ES.UTF-8, oi ? O vas triar algun altre ca ?

    No és greu, però ho volia per si feia captures de pantalla del
    terminal
    per fer manuals que sortís en català.

    Igual dic una bestiesa.
    Però tu fas servir coreutils o rust-coreutils ?
    Jo faig servir coreutils.

    Si miro strace df quan tinc el català configurat veig que llegeix

    openat(AT_FDCWD, "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo",
    O_RDONLY) = 3

    i efectivament a
    https://packages.debian.org/bookworm/arm64/coreutils/filelist
    surt el fitxer de traduccions de coreutils
    Però si miro
    https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist

    no veig cap fitxer de traducció ni res a /usr/share/locale (per cap
    llengua)





    --

    Narcis Garcia

    __________
    I'm using this dedicated address because personal addresses aren't
    masked enough at this mail public archive. Public archive administrator
    should remove and omit any @, dot and mailto combinations against
    automated addresses collectors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From SomLinux.cat@21:1/5 to All on Thu Apr 11 11:10:01 2024
    This is a multi-part message in MIME format.
    Ara sí!! moltes gràcies!!

    ➜dpkg -L coreutils | grep -e '/ca/'
    /usr/share/locale/ca/LC_MESSAGES
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    /usr/share/locale/ca/LC_TIME
    /usr/share/locale/ca/LC_TIME/coreutils.mo

    ❯df -h
    S. fitxers      Mida En ús Lliure  %Ús Muntat a

    ➜mkdir
    mkdir: manca un operand
    Proveu «mkdir --help» per a obtenir més informació.


    El 11/4/24 a les 10:50, Narcis Garcia ha escrit:
    Prova:
    $ sudo apt-get update
    $ sudo apt-get --reinstall install coreutils

    I mira el què portava el paquet:
    $ dpkg -L coreutils | grep -e '/ca/'


    El 11/4/24 a les 9:50, [email protected] ha escrit:
    Coreutils està, entenc que per defecte a Debian. I tinc molts
    coreutils d'altres idiomes, pero a /ca/ no.
    jordan@somtic /🔒 ❯ dpkg -S coreutils
    coreutils: /usr/share/locale/sv/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/pt/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/lg/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/nb/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ia/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/ja/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/sl/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/kk/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/sv/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ms/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/sr/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/af/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/ru/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/nl/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/ga/LC_TIME/coreutils.mo
    coreutils: /usr/share/locale/de/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/zh_TW/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/et/LC_MESSAGES/coreutils.mo
    coreutils: /usr/share/locale/cs/LC_MESSAGES/coreutils.mo

    alguna cosa rara està passant al meu sistema....
    On 11/4/24 8:38, Narcis Garcia <[email protected]> wrote:
    Hi ha programes que utilitzen la variable LANG i d'altres que
    utilitzen la variable LANGUAGE per a determinar l'idioma d'usuari.
    Per això convé tenir configurades ambdues.

    Veig que, si tens instal·lat el paquet coreutils, aleshores has de
    tenir el fitxer de traduccions:
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    de tota manera aquesta traducció només implica alguns programes
    essencials, els que porta coreutils:
    cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir mknod
    mktemp mv pwd readlink rm rmdir sleep stty sync touch true uname
    vdir [ arch b2sum base32 base64 basename basenc chcon cksum comm
    csplit cut dircolors dirname du env expand expr factor fmt fold
    groups head hostid id install join link logname md5sum mkfifo nice
    nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx
    realpath runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum
    shred shuf sort split stat stdbuf sum tac tail tee test timeout tr
    truncate tsort tty unexpand uniq unlink users wc who whoami yes
    chroot md5sum.textutils

    Veig que apt també compta amb la el seu fitxer de traducció al
    mateix lloc:
    /usr/share/locale/ca/LC_MESSAGES/apt.mo
    (una altra cosa és que aquest fitxer ho tradueixi tot)
    aquesta traducció implicaria els programes del paquet:
    apt apt-cache apt-cdrom apt-config apt-get apt-key apt-mark


    El 10/4/24 a les 23:49, SomLinux.cat ha escrit:
    Bones,

    Quan poso LANGUAGE=ca:es:en_US hi ha coses que m'apareixen en
    català, > però poques. Les dates d'arxius.

    Sí, a dpkg-reconfigure locales vaig triar sols ca_ES.UTF-8 . He
    provat > també de posar el valencià, a veure si sonava la flauta,
    però res. > L'he tret.

    Doncs en aquest directori /usr/share/locale/ca/LC_MESSAGES/ no
    tinc > coreutils

    total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 . drwxr-xr-x
    3 > root root 4096 de nov. 15 18:02 .. -rw-r--r-- 1 root root 36516
    de > nov. 5 23:33 bleachbit.mo -rw-r--r-- 1 root root 11557 de des.
    12 2022 > cheese.mo -rw-r--r-- 1 root root 55052 de des. 27 2021
    clutter-1.0.mo > -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo
    -rw-r--r-- 1 root > root 172612 de des. 22 12:35 filezilla.mo
    -rw-r--r-- 1 root root 41061 > d’ag. 2 2023 firewalld.mo -rw-r--r--
    1 root root 45995 de des. 2 14:31 > gimp20-libgimp.mo -rw-r--r-- 1
    root root 509827 de des. 2 14:31 > gimp20.mo -rw-r--r-- 1 root root
    15528 de des. 2 14:31 > gimp20-python.mo -rw-r--r-- 1 root root
    28572 de des. 2 14:31 > gimp20-script-fu.mo -rw-r--r-- 1 root root
    210994 de des. 2 14:31 > gimp20-std-plug-ins.mo -rw-r--r-- 1 root
    root 3885 de març 5 2023 > gnome-desktop-3.0.mo -rw-r--r-- 1 root
    root 1666 de gen. 27 07:41 > gst-plugins-bad-1.0.mo -rw-r--r-- 1
    root root 40559 de gen. 9 2023 > gvfs.mo -rw-r--r-- 1 root root
    180871 de març 1 2023 konversation.mo > -rw-r--r-- 1 root root
    149171 de gen. 23 21:57 libc.mo -rw-r--r-- 1 > root root 16973 de
    febr. 1 2023 libhandy.mo -rw-r--r-- 1 root root > 3309 d’ag. 31 2021
    libvirt-glib.mo -rw-r--r-- 1 root root 34194 de > maig 21 2023
    libvirt.mo -rw-r--r-- 1 root root 81365 de març 1 2023 > lokalize.mo
    -rw-r--r-- 1 root root 7591 d’oct. 23 10:47 pipewire.mo > -rw-r--r--
    1 root root 63008 de gen. 21 2023 remmina.mo -rw-r--r-- 1 > root
    root 18141 de gen. 26 22:48 systemd.mo -rw-r--r-- 1 root root >
    64091 de gen. 20 10:27 tar.mo -rw-r--r-- 1 root root 33113 de març
    28 > 10:52 util-linux.mo -rw-r--r-- 1 root root 11548 d’ag. 2 2022 >
    virt-viewer.mo -rw-r--r-- 1 root root 1345 d’ag. 9 2023 vte-2.91.mo
    -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.0.mo >
    -rw-r--r-- 1 root root 12013 de febr. 8 13:07 WebKitGTK-4.1.mo >
    -rw-r--r-- 1 root root 6717 de set. 19 2022 yelp.mo


    Moltes gràcies per les molèsties, però no us amoïneu.

    El 10/4/24 a les 20:53, Xavier Drudis Ferran ha escrit:
    El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis Garcia deia:
    He fet l'export $LANGUAGE=ca_ES i ara ho tinc així

    Sense $ però ja ho saps.

    ➜ echo $LANGUAGE
    es:ca:en_US

    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=es:ca:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    jordan@somtic ~
    ❯ export LANGUAGE=ca:es:en_US

    jordan@somtic ~
    ➜ locale
    LANG=ca_ES.UTF-8
    LANGUAGE=ca:es:en_US
    LC_CTYPE="ca_ES.UTF-8"
    LC_NUMERIC="ca_ES.UTF-8"
    LC_TIME="ca_ES.UTF-8"
    LC_COLLATE="ca_ES.UTF-8"
    LC_MONETARY="ca_ES.UTF-8"
    LC_MESSAGES="ca_ES.UTF-8"
    LC_PAPER="ca_ES.UTF-8"
    LC_NAME="ca_ES.UTF-8"
    LC_ADDRESS="ca_ES.UTF-8"
    LC_TELEPHONE="ca_ES.UTF-8"
    LC_MEASUREMENT="ca_ES.UTF-8"
    LC_IDENTIFICATION="ca_ES.UTF-8"
    LC_ALL=ca_ES.UTF-8

    Però els missatges del terminal em continuen apareixent en >>>>
    castellà, pel
    man, o per apt. Potser, no hi ha traducció al català per Debian
    12?

    Jo tant amb LANGUAGE=ca:es:en_US
    com amb LANGUAGE=

    si faig
    df
    em surten les capçaleres en català.

    si poso export LANGUAGE=es:ca:en_US
    em surten en castellà.

    Quan vas fer dpkg-reconfigure locales
    ja vas triar ca_ES.UTF-8, oi ? O vas triar algun altre ca ?

    No és greu, però ho volia per si feia captures de pantalla del
    terminal
    per fer manuals que sortís en català.

    Igual dic una bestiesa.
    Però tu fas servir coreutils o rust-coreutils ?
    Jo faig servir coreutils.

    Si miro strace df quan tinc el català configurat veig que llegeix

    openat(AT_FDCWD, "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo",
    O_RDONLY) = 3

    i efectivament a
    https://packages.debian.org/bookworm/arm64/coreutils/filelist
    surt el fitxer de traduccions de coreutils
    Però si miro
    https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist

    no veig cap fitxer de traducció ni res a /usr/share/locale (per
    cap >> llengua)





    --
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web:https://somlinux.cat
    Correu electrònic:[email protected]

    <!DOCTYPE html>
    <html data-lt-installed="true">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body style="padding-bottom: 1px;">
    <p>Ara sí!! moltes gràcies!!</p>
    <p><span style="font-family:monospace"><span style="font-weight:bold;color:#54ff54;background-color:#ffffff;">➜</span><span
    style="color:#000000;background-color:#ffffff;"> dpkg -L
    coreutils | grep -e '/ca/'  </span><br>
    /usr/share/locale/ca/LC_MESSAGES
    <br>
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    <br>
    /usr/share/locale/ca/LC_TIME
    <br>
    /usr/share/locale/ca/LC_TIME/coreutils.mo<br>
    <br>
    </span><span style="font-family:monospace"><span style="font-weight:bold;color:#ff5454;background-color:#ffffff;">❯</span><span
    style="color:#000000;background-color:#ffffff;"> df -h
    </span><br>
    S. fitxers      Mida En ús Lliure  %Ús Muntat a<br>
    <br>
    </span><span style="font-family:monospace"><span style="font-weight:bold;color:#54ff54;background-color:#ffffff;">➜</span><span
    style="color:#000000;background-color:#ffffff;"> mkdir
    </span><br>
    mkdir: manca un operand
    <br>
    Proveu «mkdir --help» per a obtenir més informació.<br>
    <br>
    <br>
    </span></p>
    <div class="moz-cite-prefix">El 11/4/24 a les 10:50, Narcis Garcia
    ha escrit:<br>
    </div>
    <blockquote type="cite"
    cite="mid:[email protected]">Prova:
    <br>
    $ sudo apt-get update
    <br>
    $ sudo apt-get --reinstall install coreutils
    <br>
    <br>
    I mira el què portava el paquet:
    <br>
    $ dpkg -L coreutils | grep -e '/ca/'
    <br>
    <br>
    <br>
    El 11/4/24 a les 9:50, <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> ha escrit:
    <br>
    <blockquote type="cite">Coreutils està, entenc que per defecte a
    Debian. I tinc molts coreutils d'altres idiomes, pero a /ca/ no.
    <br>
    jordan@somtic /🔒 ❯ dpkg -S coreutils
    <br>
    coreutils: /usr/share/locale/sv/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/pt/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/lg/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/nb/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/ia/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/ja/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/sl/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/kk/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/sv/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/ms/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/sr/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/af/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/ru/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/nl/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/ga/LC_TIME/coreutils.mo
    <br>
    coreutils: /usr/share/locale/de/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/zh_TW/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/et/LC_MESSAGES/coreutils.mo
    <br>
    coreutils: /usr/share/locale/cs/LC_MESSAGES/coreutils.mo
    <br>
    <br>
    alguna cosa rara està passant al meu sistema....
    <br>
    On 11/4/24 8:38, Narcis Garcia <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
    wrote:
    <br>
    <blockquote type="cite">Hi ha programes que utilitzen la
    variable LANG i d'altres que utilitzen la variable LANGUAGE
    per a determinar l'idioma d'usuari.
    <br>
    Per això convé tenir configurades ambdues.
    <br>
    <br>
    Veig que, si tens instal·lat el paquet coreutils, aleshores
    has de tenir el fitxer de traduccions:
    <br>
    /usr/share/locale/ca/LC_MESSAGES/coreutils.mo
    <br>
    de tota manera aquesta traducció només implica alguns
    programes essencials, els que porta coreutils:
    <br>
    cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir
    mknod mktemp mv pwd readlink rm rmdir sleep stty sync touch
    true uname vdir [ arch b2sum base32 base64 basename basenc
    chcon cksum comm csplit cut dircolors dirname du env expand
    expr factor fmt fold groups head hostid id install join link
    logname md5sum mkfifo nice nl nohup nproc numfmt od paste
    pathchk pinky pr printenv printf ptx realpath runcon seq
    sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf
    sort split stat stdbuf sum tac tail tee test timeout tr
    truncate tsort tty unexpand uniq unlink users wc who whoami
    yes chroot md5sum.textutils
    <br>
    <br>
    Veig que apt també compta amb la el seu fitxer de traducció al
    mateix lloc:
    <br>
    /usr/share/locale/ca/LC_MESSAGES/apt.mo
    <br>
    (una altra cosa és que aquest fitxer ho tradueixi tot)
    <br>
    aquesta traducció implicaria els programes del paquet:
    <br>
    apt apt-cache apt-cdrom apt-config apt-get apt-key apt-mark
    <br>
    <br>
    <br>
    El 10/4/24 a les 23:49, SomLinux.cat ha escrit:
    <br>
    &gt; Bones,
    <br>
    &gt;
    <br>
    &gt; Quan poso LANGUAGE=ca:es:en_US hi ha coses que
    m'apareixen en català, &gt; però poques. Les dates d'arxius.
    <br>
    &gt;
    <br>
    &gt; Sí, a dpkg-reconfigure locales vaig triar sols
    ca_ES.UTF-8 . He provat &gt; també de posar el valencià, a
    veure si sonava la flauta, però res. &gt; L'he tret.
    <br>
    &gt;
    <br>
    &gt; Doncs en aquest directori
    /usr/share/locale/ca/LC_MESSAGES/ no tinc &gt; coreutils
    <br>
    &gt;
    <br>
    &gt; total 1896 drwxr-xr-x 2 root root 4096 d’abr. 7 17:18 .
    drwxr-xr-x 3 &gt; root root 4096 de nov. 15 18:02 ..
    -rw-r--r-- 1 root root 36516 de &gt; nov. 5 23:33 bleachbit.mo
    -rw-r--r-- 1 root root 11557 de des. 12 2022 &gt; cheese.mo
    -rw-r--r-- 1 root root 55052 de des. 27 2021 clutter-1.0.mo
    &gt; -rw-r--r-- 1 root root 8441 d’oct. 12 2021 cogl.mo
    -rw-r--r-- 1 root &gt; root 172612 de des. 22 12:35
    filezilla.mo -rw-r--r-- 1 root root 41061 &gt; d’ag. 2 2023
    firewalld.mo -rw-r--r-- 1 root root 45995 de des. 2 14:31 &gt;
    gimp20-libgimp.mo -rw-r--r-- 1 root root 509827 de des. 2
    14:31 &gt; gimp20.mo -rw-r--r-- 1 root root 15528 de des. 2
    14:31 &gt; gimp20-python.mo -rw-r--r-- 1 root root 28572 de
    des. 2 14:31 &gt; gimp20-script-fu.mo -rw-r--r-- 1 root root
    210994 de des. 2 14:31 &gt; gimp20-std-plug-ins.mo -rw-r--r--
    1 root root 3885 de març 5 2023 &gt; gnome-desktop-3.0.mo
    -rw-r--r-- 1 root root 1666 de gen. 27 07:41 &gt;
    gst-plugins-bad-1.0.mo -rw-r--r-- 1 root root 40559 de gen. 9
    2023 &gt; gvfs.mo -rw-r--r-- 1 root root 180871 de març 1 2023
    konversation.mo &gt; -rw-r--r-- 1 root root 149171 de gen. 23
    21:57 libc.mo -rw-r--r-- 1 &gt; root root 16973 de febr. 1
    2023 libhandy.mo -rw-r--r-- 1 root root &gt; 3309 d’ag. 31
    2021 libvirt-glib.mo -rw-r--r-- 1 root root 34194 de &gt; maig
    21 2023 libvirt.mo -rw-r--r-- 1 root root 81365 de març 1 2023
    &gt; lokalize.mo -rw-r--r-- 1 root root 7591 d’oct. 23 10:47
    pipewire.mo &gt; -rw-r--r-- 1 root root 63008 de gen. 21 2023
    remmina.mo -rw-r--r-- 1 &gt; root root 18141 de gen. 26 22:48
    systemd.mo -rw-r--r-- 1 root root &gt; 64091 de gen. 20 10:27
    tar.mo -rw-r--r-- 1 root root 33113 de març 28 &gt; 10:52
    util-linux.mo -rw-r--r-- 1 root root 11548 d’ag. 2 2022 &gt;
    virt-viewer.mo -rw-r--r-- 1 root root 1345 d’ag. 9 2023
    vte-2.91.mo &gt; -rw-r--r-- 1 root root 12013 de febr. 8 13:07
    WebKitGTK-4.0.mo &gt; -rw-r--r-- 1 root root 12013 de febr. 8
    13:07 WebKitGTK-4.1.mo &gt; -rw-r--r-- 1 root root 6717 de
    set. 19 2022 yelp.mo
    <br>
    &gt;
    <br>
    &gt;
    <br>
    &gt; Moltes gràcies per les molèsties, però no us amoïneu.
    <br>
    &gt;
    <br>
    &gt; El 10/4/24 a les 20:53, Xavier Drudis Ferran ha escrit:
    <br>
    &gt;&gt; El Wed, Apr 10, 2024 at 03:04:17PM +0200, Narcis
    Garcia deia:
    <br>
    &gt;&gt;&gt;&gt; He fet l'export $LANGUAGE=ca_ES i ara ho tinc
    així
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt; Sense $ però ja ho saps.
    <br>
    &gt;&gt;
    <br>
    &gt;&gt;&gt;&gt; ➜ echo $LANGUAGE
    <br>
    &gt;&gt;&gt;&gt; es:ca:en_US
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt;&gt;&gt; ➜ locale
    <br>
    &gt;&gt;&gt;&gt; LANG=ca_ES.UTF-8
    <br>
    &gt;&gt;&gt;&gt; LANGUAGE=es:ca:en_US
    <br>
    &gt;&gt;&gt;&gt; LC_CTYPE="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_NUMERIC="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_TIME="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_COLLATE="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_MONETARY="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_MESSAGES="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_PAPER="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_NAME="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_ADDRESS="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_TELEPHONE="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_MEASUREMENT="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_IDENTIFICATION="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_ALL=ca_ES.UTF-8
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt;&gt;&gt; jordan@somtic ~
    <br>
    &gt;&gt;&gt;&gt; ❯ export LANGUAGE=ca:es:en_US
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt;&gt;&gt; jordan@somtic ~
    <br>
    &gt;&gt;&gt;&gt; ➜ locale
    <br>
    &gt;&gt;&gt;&gt; LANG=ca_ES.UTF-8
    <br>
    &gt;&gt;&gt;&gt; LANGUAGE=ca:es:en_US
    <br>
    &gt;&gt;&gt;&gt; LC_CTYPE="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_NUMERIC="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_TIME="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_COLLATE="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_MONETARY="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_MESSAGES="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_PAPER="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_NAME="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_ADDRESS="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_TELEPHONE="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_MEASUREMENT="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_IDENTIFICATION="ca_ES.UTF-8"
    <br>
    &gt;&gt;&gt;&gt; LC_ALL=ca_ES.UTF-8
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt;&gt;&gt; Però els missatges del terminal em continuen
    apareixent en &gt;&gt;&gt;&gt; castellà, pel
    <br>
    &gt;&gt;&gt;&gt; man, o per apt. Potser, no hi ha traducció al
    català per Debian 12?
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt; Jo tant amb LANGUAGE=ca:es:en_US
    <br>
    &gt;&gt; com amb LANGUAGE=
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; si faig
    <br>
    &gt;&gt; df
    <br>
    &gt;&gt; em surten les capçaleres en català.
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; si poso export LANGUAGE=es:ca:en_US
    <br>
    &gt;&gt; em surten en castellà.
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; Quan vas fer dpkg-reconfigure locales
    <br>
    &gt;&gt; ja vas triar ca_ES.UTF-8, oi ? O vas triar algun
    altre ca ?
    <br>
    &gt;&gt;
    <br>
    &gt;&gt;&gt;&gt; No és greu, però ho volia per si feia
    captures de pantalla del &gt;&gt;&gt;&gt; terminal
    <br>
    &gt;&gt;&gt;&gt; per fer manuals que sortís en català.
    <br>
    &gt;&gt;&gt;&gt;
    <br>
    &gt;&gt; Igual dic una bestiesa.
    <br>
    &gt;&gt; Però tu fas servir coreutils o rust-coreutils ?
    <br>
    &gt;&gt; Jo faig servir coreutils.
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; Si miro strace df quan tinc el català configurat veig
    que llegeix
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; openat(AT_FDCWD,
    "/usr/share/locale/ca/LC_MESSAGES/coreutils.mo", &gt;&gt;
    O_RDONLY) = 3
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; i efectivament a
    <br>
    &gt;&gt;
    <a class="moz-txt-link-freetext" href="https://packages.debian.org/bookworm/arm64/coreutils/filelist">https://packages.debian.org/bookworm/arm64/coreutils/filelist</a>
    <br>
    &gt;&gt; surt el fitxer de traduccions de coreutils
    <br>
    &gt;&gt; Però si miro
    <br>
    &gt;&gt;
    <a class="moz-txt-link-freetext" href="https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist">https://packages.debian.org/bookworm/arm64/rust-coreutils/filelist</a>
    <br>
    &gt;&gt;
    <br>
    &gt;&gt; no veig cap fitxer de traducció ni res a
    /usr/share/locale (per cap &gt;&gt; llengua)
    <br>
    &gt;
    <br>
    <br>
    <br>
    </blockquote>
    <br>
    </blockquote>
    <br>
    </blockquote>
    <pre class="moz-signature" cols="72">--
    Atentament,
    L'equip de SomLinux.cat
    Pàgina web: <a class="moz-txt-link-freetext" href="https://somlinux.cat">https://somlinux.cat</a>
    Correu electrònic: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a></pre>
    </body>
    <lt-container></lt-container>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)