Skip to content

The l10n-kf5 Modules

 | 

Overview

There are two active l10n-kf5 modules in KDE SVN (and also all the released ones). The two modules are:

  • trunk/l10n-kf5 for the unstable development branch

  • branches/stable/l10n-kf5 for the stable branch

The generic directory overview of a l10n-kf5 module is:

  • the templates directory: the place where the translation templates are stored.

  • the language directories (e.g. fr, de, en_GB) where the translations are stored.

  • the scripts directory: here are scripts needed for the l10n-kf5 module,

    however most of the scripts are not necessarily usable by translators.

  • the documentation directory: the place where the original English documentation is referred.

Directories of the l10n-kf5 Module

l10n-kf5/templates/messages

Place of the translation template files for the GUI.

l10n-kf5/templates/docmessages

Place of the translation template files for the documentation.

l10n-kf5/<$LANGUAGE>/messages

Place of the translation files for the GUI.

l10n-kf5/<$LANGUAGE>/data

Here you can store non-PO translations, e.g. dictionaries for kanagram. The list of localizable non-PO resources in KDE catalog.

l10n-kf5/<$LANGUAGE>/docmessages

Place of the translation files for the documentation.

l10n-kf5/<$LANGUAGE>/docs

Place of the translated documentation.

l10n-kf5/<$LANGUAGE>/internal

Place for internal files of the translation teams, e.g. for the compendium file. The files in such a directory will never be released.

l10n-kf5/<$LANGUAGE>/lokalize-scripts

Place for Lokalize scripts and plugins of your team.

l10n-kf5/<$LANGUAGE>/terms.tbx

Lokalize glossary of your team.

l10n-kf5/<$LANGUAGE>/scripts

Place for Transcript scripts of your team.

l10n-kf5/documentation

Place for the untranslated original English DocBook documentation files. The sub-directories of this directory are external references to the doc sub-directories of the corresponding modules.

l10n-kf5/l10n-scripty

Place for internal script files of the l10n-kf5 module.

The script files should be cloned with git clone git@invent.kde.org:sysadmin/l10n-scripty.git

How To Translate?

The files that are to be translated by the individual languages teams are stored in the following locations:

  • The original GUI translation templates are located in l10n-kf5/templates/messages.

  • The already translated GUI files (the POs) are located in l10n-kf5/$LANGUAGE/messages.

    For the procedure on how to make a PO file from POT file please read the section on GUI translation.

  • The translated documentation files are located in l10n-kf5/$LANGUAGE/docs. (The same goes for downloading these files as for POs.)

    For more info on this whole subject please read the section on doc translation.


Article contributed by , , and 1999-2002 Thomas Diehl thd@kde.org under the GFDL-1.2-or-later license.