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

Thomas Friedrichsmeier noreply at kde.org
Sat Jun 20 19:44:33 BST 2020




Thomas Friedrichsmeier commented:


I didn't know about i18ndX. That's pretty nice. One thing this change breaks is ```rk.switch.frontend.language()``` (```RKMessageCatalog::switchLanguage()```). Arguably that may not be a totally central feature, but it is fairly useful for running automated tests on rkward plugins in "C" locale (while developing the test in a translated UI).

Can that feature be saved, somehow? (To test it, run e.g. ```rk.switch.frontend.language("uk")``` in the "R Console" window, then select Analysis->Basic stats).

> Side question: would it be a problem to use ki18n in the R backend?

I guess that should be possible, indeed, with KF5. However the only immediate benefit is going to be to avoid the direct dependency on libintl. The backend process produces very few user visible strings (just the i18n() uses in rkrbackend.cpp).

-- 
Reply to this email directly or view it on GitLab: https://invent.kde.org/education/rkward/-/merge_requests/4#note_63510
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/83ca54a6/attachment.htm>


More information about the rkward-tracker mailing list