[interchange-i18n] Re: Translation tags in templates

Michel Matte michel.matte at sympatico.ca
Sun Nov 4 14:35:01 UTC 2001


Thanks,
I found that the  [loc] doesn't behave like [L]. It doesn't take a key but the
original text to translate.  Shouldn't it behave like the [L] tags?

A sample foundation store with preset tags and  text files to translate will
be a great help.

Documentation is also misleading with regards to setting the ImageDir for a
locale.  PageDir is relative to catroot but imageDir is not
/images/language_dir/ but /catroot/images/language_dir/ and the images must be
in a subdirectory specified by _STYLE_ such as foundation:
/catroot/images/language_dir/foundation/.

Jon Jensen wrote:

> On Wed, 31 Oct 2001, Michel Matte wrote:
>
> > Is there a reason why the translation tags [L]..[/L] don't work in
> > template files?
>
> Yes, they're not really tags. They're pseudo-tags that get parsed on pages
> only.
>
> > How can I fix this?
>
> Use [loc]...[/loc] in those situations instead. It's not as fast but works
> anywhere.
>
> Jon
>
> _______________________________________________
> interchange-i18n mailing list
> interchange-i18n at interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-i18n




More information about the interchange-i18n mailing list