[interchange-i18n] Re: LC-Statement
Holger Ehms
ehms at lipsia.net
Fri Mar 15 03:01:01 UTC 2002
Jon Jensen wrote:
> On Thu, 14 Mar 2002, Holger Ehms wrote:
>
>
>>Jon Jensen wrote:
>>
>> > [L] and [LC] are not standard Interchange tags -- they're preprocessing
>> > directives done at the time the page is loaded, before just about
>>anything
>> > else. Then later your [setlocale] tag is parsed, but by then the [L] and
>> > [LC] are already done.
>> >
>> > Alternatives are:
>> >
>> > 1. Set the locale before the page you're on (using .autoload, or setting
>> > on a previous page, or in the URL, etc.).
>> >
>> > 2. Use the [loc] or [msg] tags for locale stuff; they *are* standard IC
>> > tags and will parse in the expected order.
>> >
>> > I think you can replace [LC]...[/LC] with [msg lc=1]...[/msg] in the
>>above
>> > example and it should work.
>>
>>In the archive of this mailing list I found some examples using
>>[setlocale xx_XX] for testing "[L]" and "[LC]", changing the locale
>>successively in one page. That's why I wondered that the tag dosn't work
>>in my example.
>>Regarding the [LC] tag Racke always wrote "[LC] should work.", but how I
>>see some people found, that it may not work in some cases.
>>I try to understand where it will work and where it's better to use
>>[loc] or [msg] tags.
>>
>
> So did you try my suggestion or not? Did it work?
>
> Jon
Sorry, I did not find an example for [msg]. Is this right?
[msg lc=1]
This will not work.
[en_US]I can't get this![/en_US]
[de_DE]Oh, es funktioniert doch![/de_DE]
[/msg]
It dosn't work.
Holger
More information about the interchange-i18n
mailing list