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

kpac localetest not translating applet #4

Open
ChrTall opened this issue Jun 12, 2024 · 1 comment
Open

kpac localetest not translating applet #4

ChrTall opened this issue Jun 12, 2024 · 1 comment

Comments

@ChrTall
Copy link

ChrTall commented Jun 12, 2024

kpac is a great CLI Tool.
I think this should be somehow merged into kde and provide the ability to also generate/scaffold a new plasmoid project. (something like the ng CLI for Angular Projects)

I noticed that when using kpac localetest de the applet is not translated.
The buttons in the bottom (plasmoidviewers options) are translated though.
If I install my applet and switch language, my applet is translated.
Screenshot_20240612_152449

@k-donn
Copy link

k-donn commented Jul 3, 2024

Hello, I was having this same problem too. I do not know if you found a solution, but I have found something.

If you generate the .mo files for a locale (for example de_DE), then copy them into /usr/share/locale/de_DE/LC_MESSAGES/plasma_applet_[YOUR WIDGET].mo.

Then, doing $ kpac localetest de works, and the underlying LANGUAGE="de_DE:de" LANG="de_DE.UTF8" plasmoidviewer -a ./plasmoid works as well. I found an old mailing list talking about this.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants