Skip to content
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

Translation missing from certain Cinnamon components #121307

Open
1 of 3 tasks
Aakodal opened this issue Apr 30, 2021 · 12 comments
Open
1 of 3 tasks

Translation missing from certain Cinnamon components #121307

Aakodal opened this issue Apr 30, 2021 · 12 comments
Labels
0.kind: bug Something is broken 6.topic: cinnamon Desktop environment

Comments

@Aakodal
Copy link

Aakodal commented Apr 30, 2021

Some Cinnamon modules are not translated, examples are:


Edit - @bobby285271: The original issue is a packaging request for mintlocale but the discussion part is mostly about cinnamon localization so I am converting this issue to serve that purpose. Note that this package requires apt package manager and cannot really do what it should here. Here is the original issue:

Project description
mintlocale is Cinnamon's language helper. It allows users to change their DE's language. Currently, Cinnamon is only available in english under NixOS.

Metadata

@Aakodal Aakodal added the 0.kind: packaging request Request for a new package to be added label Apr 30, 2021
@veprbl veprbl added the 6.topic: cinnamon Desktop environment label May 1, 2021
@svavs
Copy link

svavs commented May 16, 2021

The Cinnamon interface follows the system locale (i18n.defaultLocale), not exclusively english, if you install the cinnamon.cinnamon-translations package. This worked to me to have the system settings voices in italian.
The mintlocale is helpful to switch between system languages as far as I know.

@mkg20001
Copy link
Member

@svavs Was installing cinnamon-translations required separately from enabling cinnamon?

I'd have to add it to the module then

@Aakodal Not sure if mintlocale should be included, since it goes against nixOS principles.

@svavs
Copy link

svavs commented May 22, 2021

@mkg20001 yes. I've done a first install from the NixOS KDE iso and then, after switching to Cinnamon, I had to add environment.systemPackages = with pkgs; [ cinnamon.cinnamon-translations ]; to have the package installed and the italian interface.
Anyway, now I have the control center in my main locale, but the shutdown and disconnect menus are recently again in english, don't know why.

Forgive my ignorance, but for what reason mintlocale does not respect the NixOS principles? It's still a useful package to have in Cinnamon (otherwise in the control center is missing the Language section).

@mkg20001
Copy link
Member

@svavs nixOS is very bold on things being configured through configuration.nix, like i18n.defaultLocale. I'm not sure if it is a problem when mintlocale sets the locale for just a specific user, but changing the system locale should only be possible through configuration.nix.

@svavs
Copy link

svavs commented May 22, 2021

@mkg20001 have you any idea why I'm having only the shutdown and disconnect menus in english? All the sistem is translated (Nemo too). Could this be related to the mintlocale things?

@mkg20001
Copy link
Member

The PR for fixing the locale is here #124056

Do you mean this UI? Mine seems translated

image

@svavs
Copy link

svavs commented May 22, 2021

The PR for fixing the locale is here #124056

Thank you!

Do you mean this UI? Mine seems translated

Yes. The Nemo menu and the desktop icons (see Trash below) are in english too.
This is my situation:
Schermata del 2021-05-22 22-10-48

@mkg20001
Copy link
Member

I updated my PR and patched the locale in some places

The display settings and the floppy disk still aren't translated, but I guess that's for another time.

You can apply the patches to your local nixpkgs (in case you use a fork) or use https://github.com/mkg20001/nixpkgs/archive/cinnamonlocale.tar.gz as a channel temporarily to get everything translated

image

@svavs
Copy link

svavs commented May 23, 2021

I updated my PR and patched the locale in some places

Thank you for your work! I'll check it :)

@mkg20001
Copy link
Member

It appears everything is translated now. In case anyone noticed something not being translated please comment/reopen.

@svavs
Copy link

svavs commented Dec 6, 2021

Am I missing something in my configuration? I've just upgrated to 21.11 on the stable channel.
Schermata del 2021-12-06 18-47-00
.

@mkg20001
Copy link
Member

mkg20001 commented Dec 7, 2021

Strange. This is only affecting some of the content.

@mkg20001 mkg20001 reopened this Dec 7, 2021
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 19, 2022
@bobby285271 bobby285271 changed the title mintlocale Translation missing from Cinnamon Nov 2, 2022
@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 2, 2022
@bobby285271 bobby285271 added 0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md and removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 0.kind: packaging request Request for a new package to be added labels Nov 2, 2022
@bobby285271 bobby285271 changed the title Translation missing from Cinnamon Translation missing from certain Cinnamon components Jan 3, 2023
@JohnRTitor JohnRTitor moved this to To do in Cinnamon Jun 22, 2024
@bobby285271 bobby285271 moved this from To do to Accepting PRs in Cinnamon Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: cinnamon Desktop environment
Projects
Status: Accepting PRs
Development

No branches or pull requests

5 participants