Jump to content

Frameworks/Epics/KF5.0 Release Preparation/l10n: Difference between revisions

From KDE Community Wiki
Mdemeyer (talk | contribs)
mNo edit summary
Aurélien (talk | contribs)
No edit summary
Line 6: Line 6:
* 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
* 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


Whoever takes the task i suggest creating a table below with the status of each framework.
== Definition of done ==
 
* Grep for strings which should be wrapped in a call to i18n() or tr()
* Run Messages.sh
* For code using KI18n:
** Check all files with calls to i18n() define TRANSLATION_DOMAIN *before* including KLocalizedString
 
== Status ==
 
{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;"
|- style="background: #ececec; white-space:nowrap;"
! Status
! Framework
!  width=120 | Coordination
|-
{{FeatureTodo|attica|}}
{{FeatureTodo|frameworkintegration|}}
{{FeatureTodo|kactivities|}}
{{FeatureTodo|karchive|}}
{{FeatureTodo|kauth|}}
{{FeatureTodo|kbookmarks|}}
{{FeatureTodo|kcmutils|}}
{{FeatureTodo|kcodecs|}}
{{FeatureTodo|kcompletion|}}
{{FeatureTodo|kconfig|}}
{{FeatureTodo|kconfigwidgets|}}
{{FeatureTodo|kcoreaddons|}}
{{FeatureTodo|kcrash|}}
{{FeatureTodo|kdbusaddons|}}
{{FeatureTodo|kde4support|}}
{{FeatureTodo|kdeclarative|}}
{{FeatureTodo|kded|}}
{{FeatureTodo|kdesignerplugin|}}
{{FeatureTodo|kdesu|}}
{{FeatureTodo|kdewebkit|}}
{{FeatureTodo|kdnssd-framework|}}
{{FeatureTodo|kdoctools|}}
{{FeatureTodo|kemoticons|}}
{{FeatureTodo|kf5umbrella|}}
{{FeatureTodo|kfileaudiopreview|}}
{{FeatureTodo|kglobalaccel|}}
{{FeatureTodo|kguiaddons|}}
{{FeatureTodo|khtml|}}
{{FeatureTodo|ki18n|}}
{{FeatureTodo|kiconthemes|}}
{{FeatureTodo|kidletime|}}
{{FeatureTodo|kimageformats|}}
{{FeatureTodo|kinit|}}
{{FeatureTodo|kio|}}
{{FeatureTodo|kitemmodels|}}
{{FeatureTodo|kitemviews|}}
{{FeatureTodo|kjobwidgets|}}
{{FeatureTodo|kjs|}}
{{FeatureTodo|kjsembed|}}
{{FeatureTodo|kmediaplayer|}}
{{FeatureTodo|knewstuff|}}
{{FeatureTodo|knotifications|}}
{{FeatureTodo|knotifyconfig|}}
{{FeatureTodo|kparts|}}
{{FeatureTodo|kplotting|}}
{{FeatureTodo|kprintutils|}}
{{FeatureTodo|kpty|}}
{{FeatureTodo|kross|}}
{{FeatureTodo|krunner|}}
{{FeatureTodo|kservice|}}
{{FeatureTodo|ktexteditor|}}
{{FeatureTodo|ktextwidgets|}}
{{FeatureTodo|kunitconversion|}}
{{FeatureTodo|kwallet|}}
{{FeatureTodo|kwidgetsaddons|}}
{{FeatureTodo|kwindowsystem|}}
{{FeatureTodo|kxmlgui|}}
{{FeatureTodo|plasma-framework|}}
{{FeatureTodo|solid|}}
{{FeatureTodo|sonnet|}}
{{FeatureTodo|threadweaver|}}
|}

Revision as of 17:38, 12 March 2014

For each framework the following needs to be done:

  • Make sure all strings that need to be translated are either wrapped by i18n*() or tr*() depending on the translation framework of choice
  • Make sure the Messages.sh file extracts all the files
  • Make sure the Messages.sh file creates a catalog whose name is unique
  • If using ki18n, make sure it follows http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html#link_lib
  • 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

Definition of done

  • Grep for strings which should be wrapped in a call to i18n() or tr()
  • Run Messages.sh
  • For code using KI18n:
    • Check all files with calls to i18n() define TRANSLATION_DOMAIN *before* including KLocalizedString

Status

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