I created a Next Js project and i used i18next library in this project. After I created REST API using PHP.
It worked as static for me. But I should get all languages from REST API. How can i do this? I've been dealing with this problem for 2 days and couldn't find any resources. All I want to do is to include the languages I will pull from the REST API into my Next project.
I need a source/roadmap.
Thank you. Best regards