Italian culture not working

Hello,

I have a small issue when I'm trying to set the culture for a numeric textbox.

I installed the CLDR-data package, imported the required files, and changed the culture on the local machine





but the culture is not applied to the textbox, when I complete a decimal value, is the same as English culture, eg. 1,234.56 and the expected is 1.234,56

Could you please provide a solution for this?

Thank you!


1 Reply 1 reply marked as answer

SP Sureshkumar P Syncfusion Team March 21, 2022 12:58 PM UTC

Hi Ciprian, 
 
Based on your shared information with images, you have loaded the “de” culture Json file instead of “it” culture. Which is the reason you have facing the issue. we suggest you change the Json file loading folder structure to get rid of your facing issue.  
 
Find the code example for Italian json file structure. 
loadCldr( 
    require('cldr-data/main/it/numbers.json'), 
    require('cldr-data/main/it/currencies.json'), 
    require('cldr-data/supplemental/numberingSystems.json'), 
    require('cldr-data/supplemental/currencyData.json') 
); 
 
Regards, 
Sureshkumar P 


Marked as answer
Loader.
Up arrow icon