System Information
- Strapi Version: 3.6
- Operating System: Mac
- Database:
- Node Version:
- NPM Version:
- Yarn Version:
.
I have Strapi in two languages (with internationalization feature). For that reason, API Endpoint in my case looks like:
{
Object {id 1,locale: Bosnian}
Object {id: 3, locale: English}
Object {id: 4, locale: English}
Object {id 5, locale: Bosnian}
}
On the other hand, I have a page that displays let’s say the object of API with the ID 7.
At the same time, I want to display the next and previous object. But the issue is, that we do not know if the previous is in English or Bosnian. In my case, if the ID of 7 is in Bosnian, than the previous and the next object has also to be in Bosnian. So, how can I find previous and next object of the object with the ID 7?
For that reason, how we may find out the next one and the previous one object of the object with the ID 7.
Thank you in advance