RKWard | Reduce a bit the libintl usage (!4)

Pino Toscano noreply at kde.org
Sat Jun 20 19:59:42 BST 2020




Pino Toscano commented on a discussion: https://invent.kde.org/education/rkward/-/merge_requests/4#note_63516

> One thing this change breaks is rk.switch.frontend.language() (RKMessageCatalog::switchLanguage()).

No, it does not: KLocalizedString (or actually, KCatalog internally) resets the environment for gettext before calling any gettext API.

Indeed, after doing your steps, I get a dialog with Ukrainian texts (instead of Italian).

> I guess that should be possible, indeed, with KF5.

Cool, I will give it a try then. It is not a big issue, it's just to avoid using directly a library that is already nicely wrapped by ki18n, which in turn is already used everywhere.

-- 
Reply to this email directly or view it on GitLab: https://invent.kde.org/education/rkward/-/merge_requests/4#note_63516
You're receiving this email because of your account on invent.kde.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-tracker/attachments/20200620/750c365b/attachment.htm>


More information about the rkward-tracker mailing list