damn, sorry for this stupidity !
I'll handle the languages myself in the meantime.

thanks a lot, Geert.

Henk

Geert Bevin wrote:
Hi Henk,

I have this in my template :
lang : <!--V 'CONFIG:L10N_DEFAULT_LANGUAGE'/-->
${v 'LANG:cb_logo'/}
${b 'LANG:cb_logo:nl'}
<img src="images/cb_logo_nl.gif" alt="Header image" width="235" height="63" border="0" />
${/b}
${b 'LANG:cb_logo:fr'}
<img src="images/cb_logo_fr.gif" alt="Header image" width="235" height="63" border="0" />
${/b}

and in config-base.xml :
<param name="L10N_DEFAULT_LANGUAGE">fr</param>

this is my output :
lang : fr ${v 'LANG:cb_logo'/}

any ideas why this is not working ?

You're using the wrong template tags, it should be without the single quotes:
${v LANG:cb_logo/}
${b LANG:cb_logo:nl}
<img src="images/cb_logo_nl.gif" alt="Header image" width="235" height="63" border="0" />
${/b}
${b LANG:cb_logo:fr}
<img src="images/cb_logo_fr.gif" alt="Header image" width="235" height="63" border="0" />
${/b}

Also, how do I set the language myself ? I don't think I can set the parameter in an element, do I ? I will have to do this myself using the OGNL tag ?

The localization support is atm not dynamic, Pierre has been working on this and it's supposedly ready (http://uwyn.com/issues/browse/RIFE-258 and http://rifers.org:8088/browse/rifers/rife/branches/i18n). It's a large patch though, and I need to find the time to look through it all and merge it into trunk.

I'm not sure when I'll be able to do this. I was hoping to get it done for 1.5, but sadly that will not be the case since 1.5 has to go out this week. Normally, I should have time for this in 3 weeks.

Best regards,

Geert
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to