MAKETEXT Variable
All English text in templates is enclosed in
%MAKETEXT{"string" args="..."}% variables, which enables translators to translate the user interface into different languages.
--
Contributors: PeterThoeny - 22 Oct 2006
Discussion
And surely it slows the system down too.... --
TW
To speed up things
WordPress uses compressed
.po files: these are
.mo files. Compression can be done using the
maketext command.
Now we need TWiki to read .mo files. This seems easy. Maketext Gettext has the function
read_mo
.
/lib/CPAN/lib/Locale/Maketext/Lexicon/Gettext.pm has routine
parse that automatically checks if a file is compressed to
.mo.
Everything seems to be in place.
--
ArthurClemens - 22 Oct 2006
%MAKETEXT% does not work in plugins. How do I put translatable texts in plugin code?
--
ArthurClemens - 22 Oct 2006