-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing a lot of translation in plasma5-based system. #37741
Comments
sddm translation files are apparently in the system, but are not used:
When logged into the GUI and tty as user or root: |
Pinging everyone, who contributed to sddm for awareness: |
Not sure how QT handles translations but you can try adding something like the following to SSDM package expression:
You will also need |
Those files are present, but not installed. They should find their way into |
@ttuegel Hello sir, this is what I have:
|
I will have to check this out, but I think the most likely issue is that systemd is interfering with the |
I've dug into this a bit with the example of konsole. It's trying to find the locale files for all the kde frameworks it So essentially the solution seems to be to get all the different KDE frameworks' Expression built up during testing
|
I threw some strace at the problem as well, I can confirm the findings of @lheckemann that the partial translation comes from the applications having access to their own Sadly, I couldn't find a viable solution to get those on path either. 😞 As a concrete example,
|
@florianjacob just putting them in systemPackages should do the trick, but I don't think it's the right approach. |
@lheckemann does that still work for you? This did not do the trick for me, even after rebooting, am I missing something?
|
You also need |
oooh. @lheckemann Seems like it works to directly put the
Strangely, this even works without I'm now in the process of finding all affected libraries, hoping that we can then bundle them together in a buildEnv and give them to each KDE application. |
I think it works without |
That seems like a bug; the localizations should probably go in |
When package contains both library and a executables, I would expect the localizations to be in the library output ( |
Does that mean that only translation files for systemPackages are taken into account anyways? Because the |
@schmittlauch I'm not sure whether I understood what you're asking about, but the issue is not in systemPackages system profile vs user profile installed packages, but in the derivation outputs that are put in those profiles, i.e. the key thing is the |
This is still issue. This is my own personal opinion, but users expect software output within systemPackages to contain expected output, so ".out" as extra option definitely goes against that common paradigm. Maybe those packages should "out" by default instead? |
If including the localizations in |
Could it be that this has actually somehow, miraculously, been fixed with 19.09? 😮 Can't find things that aren't translated anymore. |
@florianjacob I believe when the qt wrappers were merged @ttuegel cleaned-up/simplified the multiple outputs. |
I'm thrilled to hear that! 😀 I will go ahead and close this issue. There may still be isolated translation problems, but we can deal with them individually. |
Issue description
I have the following in configuration.nix:
sddm is not localized, the log out/suspend/reboot/shutdown window is also not localized.
Many plasma5 programs use mixed English+Russian elements, like strings in menu "File, Edit".
In systemsettings5, header "All settings, Help, Configure and field [Search]" are not translated, but all elements are.
In systemsettings5 -> Localization, only English is listed, but this configuration element is correctly localized.
I have a feeling that I miss some package or setting.
Steps to reproduce
Technical details
(updated)
"x86_64-linux"
Linux 4.15.15, NixOS, 18.03.131807.489a14add9a (Impala)
yes
yes
nix-env (Nix) 2.0
"nixos-18.03.131807.489a14add9a, nixos-master-18.09pre133640.ea145b68a01"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: