On 2018-07-05 09:27, Sergi Almacellas Abellana wrote:
> El 04/07/18 a les 18:38, Josias Pérez ha escrit:
> > I will thanks how to change dot per comma (or the other way around) in 
> > tryton and sao. I work with spanish localization and in my country use dot 
> > for decimals and comma for miles separator. 
> > 
> > I can use dot for enter decimals but after entering the data it is display 
> > with comma for decimals and dots per commas. 
> > 
> > I reviewed the custom location setting on windows but it's correctly 
> > configured. 
> The numeric fields are displayed using the numeric format on the
> language. If you have diferent settings you should create a derivative
> language (so all the translations are inherit) and set your custom
> formating.

> This is how the  "Spanish (Latin American)" language works.
> I'm wondering if you should not use this Language instead of the Spanish
> one as it has the numeric settings as you are requesting.


To be clear, sao does not use the formatting option of the language
defined in trytond. But only the language code, to request the browser
to format with toLocalString [1]

[1] 
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20180705074356.GH4715%40kei.

Reply via email to