[Pmwiki-users] intermap and i18n

Patrick R. Michaud pmichaud
Wed Dec 3 10:09:04 CST 2003

Bear in mind that InterMap links (such as
PmWikiIt:RegoleDiImpaginazione) are actually forms of wiki markup and
are handled by the wiki translation engine.  The translation table
mechanisms (using XLSDV) are designed to translate strings directly to
XHTML output, not to wiki markup.  This is so translations can specify
things such as <a href=...> tags, images, etc., in the translated
output.  So, not only isn't there an "extra pass" there the intermap
lookup mechanism, there isn't even a "first pass", because you can go
directly to the XHTML output.


On Tuesday, December 2, 2003, 4:08:04 AM, you wrote:

> I'm having a problem with getting i18n working with intermaps.
> My local/i18n-it.php contains the following:

>   XLSDV('it',array(
>     'PmWiki/TextFormattingRules' =>
> 'PmWikiIt/RegoleDiImpaginazione',
>   ));

> while my local/localmap.txt says:

>   PmWikiIt	http://www.scriptaworks.com/cgi-bin/wiki.cgi/PmWikiIt/

> Now, I would imagine that changing my local/i18n-it.php as follows:

>   XLSDV('it',array(
>     'PmWiki/TextFormattingRules' =>
> 'PmWikiIt:RegoleDiImpaginazione',
>   ));

> would "do the right thing", but it doesn't. That is, the intermap
> mechanism seems not to work in this case. Maybe it is supposed (or
> it simply happens) to work like this, but how can then obtain the
> desired behaviour ? I think that an "extra pass" through the intermap
> lookup mechanism should be done after i18n is applied, but I'm not
> sure. Any ideas ? Unfortunately I cannot provide an example URL for the
> above, but I can provide more details here if necessary.

> thanks in advance,
> Carlo

More information about the pmwiki-users mailing list