File:  [NetBSD Developer Wiki] / wikisrc / wiki / todo / be_multilingual.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Thu Nov 26 01:37:12 2009 UTC (4 years, 4 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by schmonz: details

ikiwiki is translatable with [[!iki plugins/po]] (see it in action
at [l10n.ikiwiki.info](http://l10n.ikiwiki.info/)).

`textproc/po4a` needs to be updated for this feature to work, which
in turn needs an updated `devel/gettext` (for a particular `msgmerge`
parameter). Updating `gettext` has the following fallout for netbsd-4,
as explained by [[joerg]]:

7. netbsd-4 doesn't support positional arguments for `printf`
7. gettext will force macros for `*printf` and all programs including
`libintl.h` also have to link against `-lintl` if they use `printf`
7. forcefully adding libintl is not exactly my idea of a correct
solution
7. and the problem of `/usr/lib/libintl.so` vs
`/usr/pkg/lib/libintl.so` still remains

We can update `devel/gettext` if we fix the netbsd-4 fallout. Then
updating `textproc/po4a` should be easy. Then we can experiment
with translating this wiki.

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb