Language on default layout
Is it possible to define what language I want the default layout (used for sign in and sign up) to use or do I have to write my whole own pages?
15 Replies
Hi, what SDK are you using and what language are you wanting?
I'm using Next (app router) and I wanted PT-BR
This is how you can do it with version 2 of the API
If you're using verson 1 let me know
i'm pretty sure i'm using V2, but it doesn't change the language
am i using the right api?
What version are you using?
Kinde Docs
NextJS App Router SDK - Developer tools - Help center
Our developer tools provide everything you need to get started with Kinde.
if you look in your package.json what version is showing next
kinde-auth-nextjs
?2.1.15
Let me check this for you further, your code looks correct
I can't reproduce it happening, can you delete your node modules folder, reinstall and try again please?
Just to make sure, are the necessary languages enabled in the Kinde configuration? It is not going to switch if the language is not enabled.
Yes, pt-br is supported, I was able to switch my language using the code I sent. Have you tried reinstallign the packages?
You can see the list of supported languages here: https://github.com/kinde-oss/kinde-translations.
HI @guilherme,
Hope you're good, have you been able to get this working?
Hi, I forgot to respond here
I got it to work. The issue was that I just didn't know i had to actually activate the language on the dashboard settings on kinde