D25405: Fix Step infobrowser and examples localization

Pino Toscano noreply at phabricator.kde.org
Wed Nov 20 22:48:48 GMT 2019


pino added inline comments.

INLINE COMMENTS

> aacid wrote in infobrowser.cc:156
> can i convince you to iterate over KLocalizedString::languages instead of using the first one only?
> 
> This way we will try all the langauges you may have selected and then only fallback to english if none was found

> can i convince you to iterate over KLocalizedString::languages instead of using the first one only?

or even better, use KLocalizedString::localizedFilePath() to locate the translated html file?
note that it requires to slightly rearragne the installation directory of the localized resources: instead of `objinfo/<lang>/`, it must be `objinfo/l10n/<lang>/`

REPOSITORY
  R341 Step

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25405

To: yurchor, #kde_edu, #localization, cordlandwehr
Cc: pino, aacid, cordlandwehr, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191120/241924ea/attachment-0001.html>


More information about the kde-edu mailing list