Hi Weston,

Language support is, by default, based on browser localized version, 
which is different from language settings (because language settings 
cannot be accessed with Javascript instructions).

That's why, with a French version of browsers, I get French labels with 
the address demo.

It is possible to force the language within the config.xsl file and the 
lang option can also be used, as you mentioned.

I will change priority between config file and lang option in the next 
commit so lang option will have higher priority.

Are you in a hurry?

Thanks!

-Alain

Le 18/05/2014 16:20, Weston Renoud a écrit :
> Hi all,
>
> I'm trying to get language support, as in the address demo 
> (http://www.agencexml.com/xsltforms/address.xml) to work, but I can't 
> get anything other than english to show.
>
> I have revision 597, and I'm in Chrome 34.
>
> On the copy on my server I've tried adding the 'lang' attribute to the 
> xsltforms-options:
>
> <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
> <?xsltforms-options debug="yes" lang="fr"?>
>
> But it doesn't seem to have any effect.
>
> What am I missing?
>
> Thanks,
> Weston Renoud
>


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to