This forum has been archived. All content is frozen. Please use KDE Discuss instead.

l10n/i18n of a third-party plasmoid

Tags: None
(comma "," separated)
User avatar
Cqoicebordel
Registered Member
Posts
7
Karma
0
OS

l10n/i18n of a third-party plasmoid

Thu Aug 06, 2015 3:16 pm
Hi everyone !

I'm developping a plasmoid/widget named Webslice (http://kde-look.org/content/show.php?content=169878), and want to do the right thing by providing localization and internationalization to the users.

But one big roadblock is in front of me :
How to install the messages catalogs ?

I know that locales must be installed in /usr/share/locale/. I can create a CMake directive, as stated in https://techbase.kde.org/Development/Tu ... ld_Systems I tried installing the languages catalogs by hand, and it worked flawlessly. But that means two things : user must be root, and run it by hand (cmake; make; sudo make install;).

So my questions are :
- Is there a way of installing a language catalog in the user home directory ? (I tried ~/.local/usr/share/locale/, but it didn't work)
- Is there a way to run an installation script when using the GUI to install a plasmoid from KDE-look ? (add graphic components->get new components->download new plasma widgets)

I suppose the GUI uses plasmapkg2, but it seems that it doesn't handle locales at all (using it by hand or by GUI)

Anyway, any help would be welcome ! Thanks in advance !

(BTW, if you want to see how the folders of the locales are set, the whole plasmoid is here : https://github.com/Cqoicebordel/webslice-plasmoid )
User avatar
Cqoicebordel
Registered Member
Posts
7
Karma
0
OS
Nobody knows how to do that ?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
This question may be more suited for the plasma-devel mailing list.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Cqoicebordel
Registered Member
Posts
7
Karma
0
OS
That's what I was told.

So I sended a message to the mailing list the 11th. But since I'm not a subscriber (and don't want to become one), the mail has to go through approval, and as of today, still didn't go through.

I tried by IRC, on the mailing list, on the forums. I have no idea where to ask next. I even mailed Marco Martin directly, but since he is far from his computer he couldn't answer.

So what should I do ?

BTW, I'm a newbie on plasma dev. And facing a wall this quickly isn't a good sign for other devs...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]