10
Language fallback when language not yet maintained
m
mnuernberger
Summary
Currently, when requesting a locale from Strapi not yet maintained, an empty response is being returned. It would be great if one could configure a fallback language.
Why is it needed?
It is needed in order to dynamically pull data from CMS and not having issues when a certain language is not available.
Suggested solution(s)
Possibility to configure a fallback language for requests on non-existent locals.
Activity Feed
Sort by
Adriaan
This would help us a lot. We now have to download all entries in every locale and find the fallback locale ourselves. This query already takes between 30-60 seconds, so it's not really great.
Sorting doesn't work anymore when not having a fallback locale.
Another related issue: https://github.com/strapi/strapi/issues/12799
Rortan
Any updates on this?
Mar El
As Pointed out in a response, using accept language header to achieve that would be neat.
Max Mathys
I find this feature really important. Would appreciate if someone could come up with a workaround.
Adriaan
Max Mathys: at the moment we get all locales and find the right one in our front end. But that request takes sometimes 60 seconds. So not really a great solution.