Bug 404202 - library alkimia does not load translations
Summary: library alkimia does not load translations
Status: RESOLVED FIXED
Alias: None
Product: libalkimia
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: 8.0.0
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-11 13:59 UTC by Ralf Habacker
Modified: 2019-04-08 20:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 8.0.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2019-02-11 13:59:41 UTC
The ui of kmymoney provides translations for many languages. Embedding the new online quote stuff from alkimia into kmymoney requires that alkimia also supports those languages.

A package supporting translations need to
1. collect requested translations from the source and 
2. load installed translations at run time

Item 1. was already added in December 2018 by Pino Toscana for the Alkimia library, but not for the Online Quote Editor and the Plasma applet. 

Item 2. must be added to the Alkimia code base.

After fixing both items the translators need some time to add translations.
Comment 1 Unknown 2019-02-22 09:12:32 UTC
SVN commit 1535917 by habacker:

Add german translation for alkimia provided plasma applet
plasma_applet_org.wincak.foreigncurrencies2.po

In the KF5 variant the missing pot file was added.

Reviewed By: lueck
Differential Revision: https://phabricator.kde.org/D19213


 A             de/messages/extragear-office/plasma_applet_org.wincak.foreigncurrencies2.po  
 A             templates/messages/extragear-office/plasma_applet_org.wincak.foreigncurrencies2.pot  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1535917
Comment 2 Ralf Habacker 2019-02-22 11:41:42 UTC
Git commit aaa8f98fcc811728833efa4cf4a1f1e92a1e97c9 by Ralf Habacker.
Committed on 22/02/2019 at 11:41.
Pushed by habacker into branch '8.0'.

onlinequoteseditor: Fix application name and copyright

The application name is usually written out in full.

M  +2    -2    tools/onlinequoteseditor/main.cpp
M  +1    -1    tools/onlinequoteseditor/mainwindow.ui

https://commits.kde.org/alkimia/aaa8f98fcc811728833efa4cf4a1f1e92a1e97c9
Comment 3 Ralf Habacker 2019-02-22 17:32:08 UTC
Git commit ef6106f3193be29b595b4970c342e10806adbc43 by Ralf Habacker.
Committed on 22/02/2019 at 17:31.
Pushed by habacker into branch '8.0'.

Add German translation to desktop file for plasma applet

M  +2    -0    plasma/applets/ForeignCurrencies/metadata.desktop

https://commits.kde.org/alkimia/ef6106f3193be29b595b4970c342e10806adbc43
Comment 4 Ralf Habacker 2019-02-27 07:19:39 UTC
Issue has been fixed in 8.0 and master branch.
Comment 5 Ralf Habacker 2019-04-08 20:10:32 UTC
(In reply to Ralf Habacker from comment #0)
> After fixing both items the translators need some time to add translations.

alkimia source tarball generated with tarme.rb from master branch by running:

./tarme.rb --origin stable --version 8.0.1 alkimia

returns 

INFO -- ReleaseMe::Release: Getting CI states.
INFO -- ReleaseMe::Release: Getting source (git - git@git.kde.org:alkimia [8.0])
INFO -- ReleaseMe::Release:  Getting translations...
INFO -- ReleaseMe::L10n: Downloading translations for alkimia-8.0.1
INFO -- ReleaseMe::L10n: No translations for: be, as, af, be@latin, bn, ar, ast, bn_IN, br, bg, crh, csb, bs, cy, en, el, de, da, eo, fa, et, eu, fy, gd, gu, ha, ga, he, hi, hne, hr, hy, hsb, is, ia, id, hu, ka, kn, km, kk, ku, lb, lv, mai, mk, ml, lt, mt, ms, ne, nb, mr, nso, nds, oc, or, nn, pa, ps, pt_BR, ru, rw, se, ro, si, sq, sr@ijekavian, sr, sl, sr@ijekavianlatin, sr@latin, ta, te, tg, th, tn, tt, uz, uz@cyrillic, tr, ug, vi, wa, xh, zh_HK

which means there are still no translations available.

As an alternative does making a tarball with the releaseme tools from kdelibs4 branch returns

Translations (14)
################################################################################
ca ca@valencia de es fi gl it ko nl pl pt pt_BR sv uk