https://bugs.kde.org/show_bug.cgi?id=438394

            Bug ID: 438394
           Summary: We need a software utility that will SOLVE the problem
                    of one-off running KDE programs in a different
                    language
           Product: frameworks-ki18n
           Version: 5.82.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: caslav.i...@gmx.net
          Reporter: rula...@wp.pl
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

The layered accretion of different i18n mechanisms in the entirety of the
KDE-over-Qt ecosystem has reached the level of complexity where the technical
skill necessary for succeeding at a simple intention like "I want to run this
program in a different language than configured in Systemsettings, one-off,
without changing settings for the purpose and reverting them afterwards" is now
beyond the ability of a regular human. We need software utilities for solving
these problems.

Specifically, I propose creating a `withlang` utility that could be used to
launch a KDE program in a terminal, and will SUCCESSFULLY AND THOROUGHLY launch
it in a specified localization, so that EVERY string displayed in that
program's window (as opposed to ONLY SOME strings) will be displayed in the
desired language:

```
withlang en plasma-systemmonitor
```

STEPS TO REPRODUCE
1. Using Systemsettings, set all localization-related settings to Polish.
2. Log out and back in for good measure. Dzień dobry-śmobry digidi bejbi!
3. In xterm, try to apply your best envvar-fu to SUCCESSFULLY launch
plasma-systemmonitor in English, so that ALL UI strings within the program
window's client area will be shown in English, as opposed to just SOME. You
think it's easy? You've been living blissfully secure in your conviction that
setting some environment variable(s) on the command line is all it takes? Well
then, I DARE YOU TO TRY, and I welcome you to post your experience in comments.

OBSERVED RESULT

No matter what I try - LANG, KDE_LANG, KDELANG, LANGUAGE, LC_*, LC_ALL,
en([_-]US)?(\.(utf|UTF)-?8)?, I can only get SOME of the strings in the program
to show in English. Others are shown in Polish.


EXPECTED RESULT

A utility like `withlang` should exist and be part of the KDE distribution, so
that I could just run `withlang en plasma-systemmonitor` and Get What I Want.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × AMD FX(tm)-8320 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to