[ic] Locale problem
Gert van der Spoel
ic at 3edge.com
Thu Feb 23 18:24:41 EST 2006
Alessandro Poletto writes:
> I've noticed this strange problem with locale:
>
> I have this in the locale table:
>
> code= "Login_txt1"
> fr_FR= "test fr __COMPANY__"
> it_IT= "test it __COMPANY__"
change:
it_IT= "test it %s"
and put:
[tmp variabile]Login_txt1[/tmp]
[msg arg.0="__COMPANY__"][scratch variabile][/msg]
not sure if this is the most efficient way or the best or if it can be done
with L LC or LOC .. but this seems to work.
CU,
Gert
>
> In variable I have:
> COMPANY = "Acme corp"
>
> I' tried this in test.html:
> -------------------------------------------------
> [tmp variabile]Login_txt1[/tmp]
> [L]Login_txt1[/L] <br>
> [LOC]Login_txt1[/LOC] <br>
> [LC]Login_txt1[/LC] <br>
> [L][scratch variabile][/L] <br>
> [LOC][scratch variabile][/LOC] <br>
> [LC][scratch variabile][/LC] <br>
> -------------------------------------------------
>
> the result was (it_IT is the default locale):
>
> test it Acme corp
> test it __COMPANY__
> Login_txt1
> Login_txt1
> test it __COMPANY__
> Login_txt1
>
> so my conclusion is that:
> the [L] tag reparse the code changing __COMPANY__ in Acme Corp
> the [LOC] tag interpolate the code changing the [scratch variabile] in
> Login1_txt
>
> At least the question is:
> "there is a way to make interpolate + reparsing?"
>
> (i'm been using ic 5.0.0 and 5.2.0)
>
> Many thanks in advace to all!!
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
More information about the interchange-users
mailing list