Bug 462168 - Languages are only available in the language list if they have Plasma translations
Summary: Languages are only available in the language list if they have Plasma transla...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (other bugs)
Version First Reported In: 5.26.3
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 463165 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-11-23 13:15 UTC by MohammadSaleh Kamyab
Modified: 2023-01-05 20:13 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MohammadSaleh Kamyab 2022-11-23 13:15:03 UTC
Persian is not listed in languages and the only way to set language to Persian is to edit `plasma-localerc` file.
Please add it.
Thanks!
Comment 1 Nate Graham 2022-11-29 19:41:11 UTC
So you're saying your system uses the Persian language correctly if you manually edit the config file, but the language doesn't appear in the language list?
Comment 2 MohammadSaleh Kamyab 2022-11-30 13:48:28 UTC
(In reply to Nate Graham from comment #1)
> So you're saying your system uses the Persian language correctly if you
> manually edit the config file, but the language doesn't appear in the
> language list?

Translation of KDE to Perisan is realy poor, but when I manually edit config file, It become RTL (Right-To-Left) and also I can see some Persian strings. 
But it is not in the languages list.
Comment 3 Nate Graham 2022-11-30 17:44:43 UTC
Ok, so the problem is that some software on the system is translated into Persian, but Persian isn't listed as valid language in the language list, even though using it (kind of) works. Thanks.
Comment 4 hanyoung 2022-12-01 14:33:46 UTC
probably because Persian is not in "plasmashell" domain. We get the available languages via `m_availableLanguages = KLocalizedString::availableDomainTranslations("plasmashell").values()`
Comment 5 hanyoung 2023-01-05 13:08:52 UTC
Most likely there is no `plasmashell.po` in https://websvn.kde.org/trunk/l10n-kf5/fa/messages/plasma-workspace/
Comment 6 Nate Graham 2023-01-05 20:13:13 UTC
*** Bug 463165 has been marked as a duplicate of this bug. ***