Re: [Xsltforms-support] Where to place <?xsltforms-options?>
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2011-04-18 20:24:00
|
Philip, I almost forgot that there is no way in Javascript to read browser language preferences... Have a look at http://blog.dansingerman.com/post/909213798/detecting-a-browsers-language-in-javascript, for more explanations. The JSONP workaround which is proposed might be implemented in XSLTForms if necessary! Thanks! -Alain Le 18/04/2011 15:28, Philip Fennell a écrit : > > Alain, > > > Can you have a look at the HTTP requests, with a browser debugger, to > check the name of the config file it wants to obtain? > > Regardless of how I configure my PC (Windows 7) and re-launch Firefox, > Firebug shows that XSLTForms is requesting: > > GET http://localhost:8031/resource/xsltforms/config_en_us.xsl > > If I change the preferred language in Firefox options to en or en-GB > XSLTForms still request config_en_us.xsl. > > |