Frameworks/Epics/KF5.0 Release Preparation/l10n

From KDE Community Wiki

TODO

For each framework the following needs to be done:

Mark strings translatable

Make sure all strings that need to be translated are either wrapped by i18n*() or tr*() depending on the translation framework of choice.

Extract translatable strings

If there is no Messages.sh file in the repository, create a src/Messages.sh file. See http://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems#handling_i18n_in_KDE.27s_subversion_repository for details on how to create and test it.

If there are Messages.sh files, check they are still relevant.

Things to test:

  • Make sure the Messages.sh files extract all the files
  • Make sure the Messages.sh files create catalogs with correct names. Look out for catalogs with '4' suffix, or catalogs whose name would clash with an existing KDE4 library.

Make sure the translations are loaded

If using ki18n, make sure it follows http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html#link_lib . In short: Check all files with calls to i18n*() define TRANSLATION_DOMAIN before including KLocalizedString.

If using tr() ... no clue, someone should care about this. Probably have a look at how Trojita does it for Qt4 and try to generalize for KF5

Status

Framework Translation System Coordination
attica -
frameworkintegration KI18n
kactivities KI18n
karchive -
kauth Qt
kbookmarks Qt
kcmutils KI18n
kcodecs Qt
kcompletion Qt
kconfig KI18n
kconfigwidgets KI18n
kcoreaddons Qt
kcrash Qt
kdbusaddons Qt
kde4support KI18n
kdeclarative -
kded -
kdesignerplugin Qt
kdesu -
kdewebkit -
kdnssd-framework Qt
kdoctools KI18n
kemoticons -
kf5umbrella -
kfileaudiopreview KI18n
kglobalaccel Qt
kguiaddons -
khtml KI18n
ki18n KI18n
kiconthemes KI18n
kidletime -
kimageformats -
kinit KI18n
kio KI18n
kitemmodels -
kitemviews Qt
kjobwidgets Qt
kjs -
kjsembed KI18n
kmediaplayer -
knewstuff KI18n
knotifications Qt
knotifyconfig KI18n
kparts KI18n
kplotting -
kprintutils KI18n
kpty KI18n
kross KI18n
krunner KI18n
kservice KI18n
ktexteditor KI18n
ktextwidgets KI18n
kunitconversion KI18n
kwallet KI18n
kwidgetsaddons Qt
kwindowsystem KI18n
kxmlgui KI18n
plasma-framework KI18n
solid Qt
sonnet Qt
threadweaver -