Skip Navigation

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Petal i18n and I18NFool

Please see the Petal i18n documentation and the i18nFool documentation on CPAN for an introduction to internationalising MKDoc templates and the translation how to for instructions for translators.

These instructions are based on working with the default 1.8 templates with MKDoc 1.8 installed in /usr/local/mkdoc-1-8/ — change the paths to suite.

First move to the locale directory and generate a list of all the templates and pass this to in18fool-extract to generate the pot file(s)

cd locale
find /usr/local/mkdoc-1-8/resources/templates/ \
| egrep '\.(xml|html)$' | xargs i18nfool-extract

Create directories for each language and run i18nfool-update to update / generate the .po files

mkdir {en,fr,de}
i18nfool-update

Then build the .mo files

i18nfool-build

Up

This document was last modified by Chris Croome on 2005-04-06 06:26:04
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2005 MKDoc Ltd.