You are not logged in.

#1 2018-09-18 22:28:15

aleskva
Member
Registered: 2017-09-02
Posts: 69

[Solved] How to update Gnome trantlation?

Gnome translation seems outdated since the update to 3.30. Half of the messages in Gnome is in English

$ cat /usr/share/locale/cs/LC_MESSAGES/gnome-desktop-3.0.mo
...
PO-Revision-Date: 2013-08-20 08:47+0200

This is completely out of date.

Is there some way to update those files?

Last edited by aleskva (2019-05-03 23:31:28)

Offline

#2 2018-09-19 00:45:18

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved] How to update Gnome trantlation?

If you wanted to update the upstream translation, you could contribute via gnome gitlab: https://gitlab.gnome.org/GNOME/gnome-desktop

That shouldn't be necessary here though.
The translation in the gnome-session-3.30.0-1 package seems up to date:

$ tar -Oxf /var/cache/pacman/pkg/gnome-session-3.30.0-1-x86_64.pkg.tar.xz usr/share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo|grep -a Date
POT-Creation-Date: 2018-08-28 21:21+0000
PO-Revision-Date: 2018-08-29 10:42+0200

The file just isn't up to date in your system for some reason.
What's the output of 'pacman -Qkk gnome-session'?

Offline

#3 2018-09-19 15:26:29

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

$ pacman -Qkk gnome-session
gnome-session: 363 souborů celkem. 0 pozměněné soubory

Offline

#4 2018-09-19 15:30:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [Solved] How to update Gnome trantlation?

What about `pacman -Q gnome-session`?

Are you fully up to date or have you done a partial upgrade?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2018-09-19 15:31:04

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

I'm not sure, if this is something to do with my issue, but per commit history, the Czech translation was updated at 4th Sep: https://gitlab.gnome.org/GNOME/gnome-de … r/po/cs.po

Last edited by aleskva (2018-09-19 15:33:47)

Offline

#6 2018-09-19 15:33:17

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

$ pacman -Q gnome-session
gnome-session 3.30.0-1

I updated Gnome from 3.28 using

$ pacman -Syu

(the same as from 3.26 to 3.28 etc.)

Offline

#7 2018-09-19 15:37:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [Solved] How to update Gnome trantlation?

That's odd (edit: it's odd that you are getting the old date in the file despite being properly up to date).  What do you get if you run ooo's command:

tar -Oxf /var/cache/pacman/pkg/gnome-session-3.30.0-1-x86_64.pkg.tar.xz usr/share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo|grep -a Date

Last edited by Trilby (2018-09-19 15:39:24)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2018-09-19 15:39:38

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

All the updates in past went well, but this time I've got Gnome 3.30 half in Czech and half in English, which is really not good. See for example: https://ctrlv.cz/shots/2018/09/19/b9tg.png

The word "Drátové Connected" is really funny, but the datetime format is some really weird combination of English format and Czech words, and like this looks more parts of Gnome since 3.30

Offline

#9 2018-09-19 15:40:34

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

The same actually:

$ tar -Oxf /var/cache/pacman/pkg/gnome-session-3.30.0-1-x86_64.pkg.tar.xz usr/share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo|grep -a Date
POT-Creation-Date: 2018-08-28 21:21+0000
PO-Revision-Date: 2018-08-29 10:42+0200

Offline

#10 2018-09-19 15:43:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [Solved] How to update Gnome trantlation?

Ok, I'm stumped.  The package in your cache has the correct revision date, pacman says there is no problem with the installed file (e.g. it should match what is in the cache), yet that file on your system still has an old date.

If you can bear with me, can we double check the result in your initial post:

grep -a Date /usr/share/locale/cs/LC_MESSAGES/gnome-desktop-3.0.mo

If that still has a 2013 date I'd try reinstalling gnome-session (though I'm not sure if that'd work as it makes no sense to me how the old date could be there).  If instead it is a current 2018 date, then the problem may just be in your locale settings.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2018-09-19 17:55:44

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

Okay, I removed all the content /usr/share/locale/cs/ and used pacman to reinstall all packages in my Arch. This is what terminal gives me now:

$ tar -Oxf /var/cache/pacman/pkg/gnome-session-3.30.0-1-x86_64.pkg.tar.xz usr/share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo|grep -a Date
POT-Creation-Date: 2018-08-28 21:21+0000
PO-Revision-Date: 2018-08-29 10:42+0200
$ tar -Oxf /var/cache/pacman/pkg/gnome-desktop-1\:3.30.0-1-x86_64.pkg.tar.xz usr/share/locale/cs/LC_MESSAGES/gnome-desktop-3.0.mo|grep -a Date 
POT-Creation-Date: 2013-08-19 17:24+0000
PO-Revision-Date: 2013-08-20 08:47+0200
$ grep -a Date /usr/share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo 
POT-Creation-Date: 2018-08-28 21:21+0000
PO-Revision-Date: 2018-08-29 10:42+0200
$ grep -a Date /usr/share/locale/cs/LC_MESSAGES/gnome-desktop-3.0.mo
POT-Creation-Date: 2013-08-19 17:24+0000
PO-Revision-Date: 2013-08-20 08:47+0200

The system still looks like https://ctrlv.cz/shots/2018/09/19/b9tg.png (half english, wrong datetime format, etc.).

Last edited by aleskva (2018-09-19 17:59:16)

Offline

#12 2018-09-19 21:42:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [Solved] How to update Gnome trantlation?

Oops.  I didn't realize you and ooo were looking at different files.  Sorry that was a long red-herring.

Everything seems fine for the packages on your system.  So I gather it's a locale settings issue.  I don't have much experience with non US locales, but as a start, the output of `locale -a` and `localectl` would be helpful.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2018-09-20 05:56:25

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

$ locale -a
C
cs_CZ.utf8
POSIX
$ localectl
   System Locale: LANG=cs_CZ.UTF-8
       VC Keymap: cz-qwertz
      X11 Layout: n/a

Offline

#14 2019-05-03 23:31:14

aleskva
Member
Registered: 2017-09-02
Posts: 69

Re: [Solved] How to update Gnome trantlation?

They weren't translated at the release date, but after the usual minor updates they got updated

Offline

Board footer

Powered by FluxBB