Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrolltop: The aria option is not found in the current locale('es') #7082

Closed
yachtsman-dev opened this issue Aug 24, 2024 · 5 comments
Closed
Labels
Resolution: By Design The behavior in the issue is by design and the component exhibits the expected behavior

Comments

@yachtsman-dev
Copy link

Describe the bug

Getting error message The aria option is not found in the current locale('es') while setting up locale as 'es'
bug with locale

Reproducer

No response

System Information

Primereact: 10.8.2
nextjs: 14.2.5
react: latest

Steps to reproduce the behavior

No response

Expected behavior

No response

@yachtsman-dev yachtsman-dev added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 24, 2024
@melloware
Copy link
Member

Did you add the full es.json file to your application from PrimeLocale: https://github.com/primefaces/primelocale/blob/main/es.json ???

@melloware
Copy link
Member

Here is a working example using "es" locale. https://stackblitz.com/edit/zwbdah?file=src%2Fmain.jsx

@melloware melloware added Resolution: By Design The behavior in the issue is by design and the component exhibits the expected behavior and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 24, 2024
@yachtsman-dev
Copy link
Author

Did you add the full es.json file to your application from PrimeLocale: https://github.com/primefaces/primelocale/blob/main/es.json ???

For that do i have to install primelocale node_module?
i have installed primereact, primeicons and primeflex

@melloware
Copy link
Member

My stack blitz shows you how to import and use it

@melloware
Copy link
Member

Look at my package.json and how I import the locale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: By Design The behavior in the issue is by design and the component exhibits the expected behavior
Projects
None yet
Development

No branches or pull requests

2 participants