Reply To: Localization of antiX applications

Forum › Forums › General › Software › Localization of antiX applications › Reply To: Localization of antiX applications

#57716
Anonymous

    Robin, install the “intltool” debian package if it is not already present on your system
    (AFAIK, “intltool-debian” package is preinstalled but “intltool” is not).
    These utilities might cover the much of the workflow.

    /usr/bin/intltool-extract
    /usr/bin/intltool-merge
    /usr/bin/intltool-prepare
    /usr/bin/intltool-update
    /usr/bin/intltoolize


    man intltool-extract
    man intltool-merge
    man intltool-prepare
    man intltool-update
    man intltoolize

    man xgettext

    I have been (still am) just grasping at straws here.

    Hmm… http://www.gnu.org/software/gettext/manual/gettext.html
    ^–v

    http://www.gnu.org/software/gettext/manual/gettext.html#Update-an-Existing-Translation-File

    [the following example would] concatenate the compendium file(s) and the existing PO, merge the result with the POT file and remove the obsolete entries (optional, here done using ‘msgattrib’):

    msgcat --use-first -o update.po compendium1.po compendium2.po file.po
    msgmerge update.po file.pot | msgattrib --no-obsolete > file.po