-1

Helo; I have checked the Manual of PrimeFaces11 and googled but I can't find any example of how to use that attribute. ChatGPT said "es-MX" and "en-US" but none seem to work. Any ideas? :'(

I'm expecting the titles like "Ascending" to be "Ascendente" (in spanish) (i listed what i have tried already)

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102

1 Answers1

1

dataLocale is used "in features such as filtering and sorting" (see DataTable documentation). So it is not used to translate UI texts. For that please refer to the localization documentation. Spanish is supported out of the box. Just set the correct locale in your view.

See also:

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102