Bug 449807 - The system interface has become multilingual
Summary: The system interface has become multilingual
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 19:16 UTC by JOnN
Modified: 2022-03-12 17:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
writes the following (38.62 KB, image/png)
2022-02-08 19:16 UTC, JOnN
Details
screen (48.86 KB, image/png)
2022-02-08 19:42 UTC, JOnN
Details
formats (47.45 KB, image/jpeg)
2022-02-08 20:04 UTC, JOnN
Details
available languages (55.48 KB, image/png)
2022-02-08 20:10 UTC, JOnN
Details
Here 's what outputs (17.04 KB, image/png)
2022-02-08 20:23 UTC, JOnN
Details
very strange (45.21 KB, image/png)
2022-02-09 15:33 UTC, JOnN
Details
625 (51.77 KB, image/png)
2022-02-09 15:37 UTC, JOnN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JOnN 2022-02-08 19:16:58 UTC
Created attachment 146451 [details]
writes the following

After the update to plasma 5.24.80, for some reason, the translation of the system became multilingual 50-50% (rus and eng)

Operating System: Manjaro Linux
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.7-1-MANJARO (64-bit)
Comment 1 Nate Graham 2022-02-08 19:19:52 UTC
Can you paste the output of:

1. `cat ~/.config/plasma-localerc`
2. `locale`
Comment 2 JOnN 2022-02-08 19:23:02 UTC
[Formats]
LANG=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_MONETARY=ru_RU.UTF-8
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
useDetailed=true


LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=ru_RU.UTF-8
LC_TELEPHONE=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
LC_ALL=
Comment 3 JOnN 2022-02-08 19:42:25 UTC
Created attachment 146452 [details]
screen
Comment 4 Nate Graham 2022-02-08 19:56:11 UTC
Thanks. Can you also attach a screenshots of the "Formats" page?
Comment 5 JOnN 2022-02-08 20:04:21 UTC
Created attachment 146453 [details]
formats
Comment 6 JOnN 2022-02-08 20:10:30 UTC
Created attachment 146455 [details]
available languages
Comment 7 Nate Graham 2022-02-08 20:17:34 UTC
Thanks again. What is the output of `echo $LANGUAGE`? in a terminal window?

Something somewhere has en_US set inappropriately; we need to find out where it is!
Comment 8 JOnN 2022-02-08 20:23:09 UTC
Created attachment 146456 [details]
Here 's what outputs
Comment 9 JOnN 2022-02-08 20:27:12 UTC
echo $LANG            
The following result:                                                                    ✔ 
ru_RU.UTF-8
Comment 10 Nate Graham 2022-02-08 20:37:45 UTC
I am confused, then. I don't see where en_US is coming from. It looks to me like your system is properly set up to be 100% in Russian.

Han, any ideas here?
Comment 11 JOnN 2022-02-08 20:43:52 UTC
Then why is the language of all menus in the system half international? It looks fun, but it is). I'm wondering why I can't change the system language to another one. I can't change it completely to English, and also back. Before this update, there was no such problem
Comment 12 Nate Graham 2022-02-08 20:50:02 UTC
I have no idea; it's a bug whose origin hasn't been discovered yet. I'm CCing some more people who might be able to help.
Comment 13 Fabian Vogt 2022-02-08 20:58:51 UTC
The only translated strings are coming from .desktop files, while the missing Plasma translations would be in gettext catalogs such as /usr/share/locale/*/LC_MESSAGES/plasma*.mo. Do those exist?

This also explains the error message in the language KCM, which is shown if Plasma can't find any translations of systemsettings.
Comment 14 JOnN 2022-02-08 21:12:56 UTC
Yes they are at this location
Comment 15 JOnN 2022-02-08 21:17:18 UTC
What should I do?
Comment 16 hanyoung 2022-02-09 12:55:25 UTC
Comment on attachment 146451 [details]
writes the following

seems to me you didn't set the language to Russian. The default language for translation is America English
Comment 17 JOnN 2022-02-09 14:52:47 UTC
In the formats tab, I tried to change languages. To English, then back to Russian. Errors remained
Comment 18 hanyoung 2022-02-09 15:02:20 UTC
(In reply to JOnN from comment #17)
> In the formats tab, I tried to change languages. To English, then back to
> Russian. Errors remained

try set language to Russian in *Translation*, then re-login to see if the issue still exists
Comment 19 JOnN 2022-02-09 15:12:41 UTC
In the language tab, only English is available. The button for adding languages is not active, this can be seen in the screenshot. Therefore, I cannot change the choice here
Comment 20 hanyoung 2022-02-09 15:17:36 UTC
I guess somehow Plasma can't find translation files then. You can edit ~/.config/plasma-localerc to the following:

[Formats]
LANG=ru_RU.UTF-8
[Translations]
LANGUAGE=ru_RU

and restart plasma to see if the UI is properly translated
Comment 21 JOnN 2022-02-09 15:32:09 UTC
I did as recommended, but for some reason writes that I could not find the language, while also half of the localizations are there. This is very strange
Comment 22 JOnN 2022-02-09 15:33:00 UTC
Created attachment 146494 [details]
very strange
Comment 23 hanyoung 2022-02-09 15:34:21 UTC
yeah, missing plasma translation file. No idea how to fix that though
Comment 24 JOnN 2022-02-09 15:37:26 UTC
Created attachment 146495 [details]
625
Comment 25 Nate Graham 2022-02-09 16:39:53 UTC
I notice you are using Manjaro. To my knowledge, Manjaro is not shipping Plasma 5.24 yet, as they typically hold back packages by a few weeks. And it seems like you're using 5.24.80, which would correspond to current git master, not Plasma 5.24.

Have you added a special repo to get a different version of Plasma packages compared to what's normally shipped by Manjaro? If so, then I am quite certain that this is a Manjaro packaging issue, not a KDE issue.
Comment 26 JOnN 2022-02-09 18:39:45 UTC
(In reply to Nate Graham from comment #25)
> I notice you are using Manjaro. To my knowledge, Manjaro is not shipping
> Plasma 5.24 yet, as they typically hold back packages by a few weeks. And it
> seems like you're using 5.24.80, which would correspond to current git
> master, not Plasma 5.24.

> 
> Have you added a special repo to get a different version of Plasma packages
> compared to what's normally shipped by Manjaro? If so, then I am quite
> certain that this is a Manjaro packaging issue, not a KDE issue.

Are you talking about the update branch? If yes, then I changed the frequency of updates to a test one
Comment 27 Nate Graham 2022-02-10 16:39:21 UTC
OK, then I strongly suspect it's what I wrote earlier. Can you follow up with the Manjaro folks about this?
Comment 28 JOnN 2022-02-10 17:13:07 UTC
Unfortunately, I am not a member of any manjaro forum, there were no problems before. In addition, the error that occurred, I left it here, I thought that was enough
Comment 29 Nate Graham 2022-02-10 17:21:14 UTC
> there were no problems before.
Right, because you were using a supported configuration before. Then when you changed to use a beta software repo, the problem appeared--most likely because that repo does not include translations in it.

You should report this to the Manjaro people.
Comment 30 JOnN 2022-03-12 17:37:21 UTC
KDE Plasma: 5.24.3
KDE Frameworks: 5.91.0
Qt: 5.15.3
KERNEL: 5.16.14-1-MANJARO (64 BIT)

Reading the forums, I realized that the error occurs during global updates and the standard ways of solving the problem do not help most. 
After I left the bug report here, there were 2 system updates, but simply installing other default languages through the GUI did not solve the problem of multilingualism of the system!! I solved the problem in the following way:

LC_ALL=en_US.UTF-8  > /etc/environment
en_US.UTF-8 UTF-8  >  /etc/locale.gen
LANG=en_US.UTF-8 > /etc/locale.conf
sudo locale-gen en_US.UTF-8