I didn't change the language to spanish, i'm using react without classes

Hello i'm trying to translate my schedule using the recomendations in other threads, but i'm not using classes, and i'm using separate components, are some way to do that? please help me and thanks

Attachment: enerlink_a368edcc.rar

1 Reply 1 reply marked as answer

HB Hareesh Balasubramanian Syncfusion Team June 21, 2021 07:28 AM UTC

Hi Jorge, 

Greetings from Syncfusion Support..! 

We have validated your shared sample at our end and in that, you have not included the culture files which is reason for the reported problem. We have modified your shared sample using the Spanish culture, which can be downloaded from the following link. 


loadCldr( 
  require('cldr-data/supplemental/numberingSystems.json'), 
  require('cldr-data/main/es/ca-gregorian.json'), 
  require('cldr-data/main/es/numbers.json'), 
  require('cldr-data/main/es/timeZoneNames.json') 
); 
setCulture('es'); 

Kindly try the above solution and get back to us if you need any further assistance. 

Regards, 
Hareesh 


Marked as answer
Loader.
Up arrow icon