Hi Alex,

XSLTForms v1.7 includes two mechanisms for internationalization: the legacy one 
based on config_XXX.xsl files and the new embedded one (Javascript config_data 
object) for a form to be a standalone HTML file.

When no language is specified within the form, in legacy mode, XSLTForms gets 
the navigator language and loads the corresponding config_XXX.xsl file. Using 
the browser debugger, you should see the HTTP request for it.

You can force the language using the regular HTML declaration: html/@lang 
attribute.

Please find the standard Italian confile file attached.

If it still does not work for you, I could enhance the new mechanism so it 
could fix file issues with the legacy one.

Thank you for your feedback!

--Alain

> Le 30/01/2025 15:51 CET, Alessandro via Xsltforms-support 
> <[email protected]> a écrit :
> 
> 
> Sorry, I've forgotten the screenshot...
> 
> -- 
> Protetto con Tuta Mail: 
> https://tuta.com/free-email
> 
> 
> 25 gen 2025, 08:18 da [email protected]:
> > Hi Alex,
> > 
> > I cannot yet reproduce this issue with the date picker. It works as 
> > expected with my own test forms.
> > 
> > Could you please post a minimal test form and corresponding screen captures?
> > 
> > Thanks!
> > 
> > --Alain
> > > Le 21/01/2025 16:51 CET, Alessandro via Xsltforms-support 
> > > <[email protected]> a écrit :
> > > 
> > > 
> > > Hi all,
> > > even following what suggested here 
> > > (https://sourceforge.net/p/xsltforms/mailman/xsltforms-support/thread/4D0342CF.4040600%40hyperbase.com/#msg26735692)
> > >  and here (https://sourceforge.net/p/xsltforms/mailman/message/26203855/) 
> > > the date picker on an input field remains always set with the American 
> > > format... I'm using the last xsltforms release 1.7...
> > > 
> > > Many thanks
> > > Alex
> > > 
> > > -- 
> > > Protetto con Tuta Mail: 
> > > https://tuta.com/free-email
> > > _______________________________________________ Xsltforms-support mailing 
> > > list [email protected] 
> > > https://lists.sourceforge.net/lists/listinfo/xsltforms-support
> 
> _______________________________________________ Xsltforms-support mailing 
> list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
	<xsl:template name="config">
		<options>
		</options>
		<properties> <!--  accessible at run time -->
			<html>4</html>
			<language>it</language>
			<calendar.label>...</calendar.label>
			<calendar.day0>Lun</calendar.day0>
			<calendar.day1>Mar</calendar.day1>
			<calendar.day2>Mer</calendar.day2>
			<calendar.day3>Gio</calendar.day3>
			<calendar.day4>Ven</calendar.day4>
			<calendar.day5>Sab</calendar.day5>
			<calendar.day6>Dom</calendar.day6>
			<calendar.initDay>0</calendar.initDay>
			<calendar.month0>Gennaio</calendar.month0>
			<calendar.month1>Febbraio</calendar.month1>
			<calendar.month2>Marzo</calendar.month2>
			<calendar.month3>Aprile</calendar.month3>
			<calendar.month4>Maggio</calendar.month4>
			<calendar.month5>Giugno</calendar.month5>
			<calendar.month6>Luglio</calendar.month6>
			<calendar.month7>Agosto</calendar.month7>
			<calendar.month8>Settembre</calendar.month8>
			<calendar.month9>Ottobre</calendar.month9>
			<calendar.month10>Novembre</calendar.month10>
			<calendar.month11>Dicembre</calendar.month11>
			<calendar.close>Chiudi</calendar.close>
			<format.date>dd/MM/yyyy</format.date>
			<format.datetime>dd/MM/yyyy hh:mm:ss</format.datetime>
			<format.decimal>,</format.decimal>
			<status>Caricamento in corso</status>
		</properties>
		<extensions/> <!-- HTML elements to be added just after xsltforms.js and xsltforms.css loading -->
	</xsl:template>
</xsl:stylesheet>
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to