You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So there are like 9 Locales in my project and only 1 of them is fully filled in. I set the fallback Locale on all of the other languages to the one which is filled (en-US). I added every single locale to the space locales annotation field and I sync.
What happens afterwards is quite strange. I would expect to see every not filled in item being the english fallback locale text. So that when I query I would get the english text as fallback.
This doesn't happen. If I check out the database every non contentful Resource() field is empty/null. Even the location which isn't even tagged in contentful as localized at all. Am I missing something here?
-Update: I also noticed that setting a partly filled in language as only locale in the space will leave the not filled in fields empty. While I would expect them to be filled with the fallback Locale.
The text was updated successfully, but these errors were encountered:
Okay, so after diving deep in the source code of Vault I found out there is idd a mechanism fetching the default locale resource if the chosen locale has none. Then I found out that the default locale must be the first in the list of locales within the space, otherwise nothing happens.
It was a bit of a struggle but now everything seems to be working alright
interesting to know and thanks for reporting it. I'll check on the next release of Vault if there is an easier way of applying the fallback logic to vault ...
So there are like 9 Locales in my project and only 1 of them is fully filled in. I set the fallback Locale on all of the other languages to the one which is filled (en-US). I added every single locale to the space locales annotation field and I sync.
What happens afterwards is quite strange. I would expect to see every not filled in item being the english fallback locale text. So that when I query I would get the english text as fallback.
This doesn't happen. If I check out the database every non contentful Resource() field is empty/null. Even the location which isn't even tagged in contentful as localized at all. Am I missing something here?
-Update: I also noticed that setting a partly filled in language as only locale in the space will leave the not filled in fields empty. While I would expect them to be filled with the fallback Locale.
The text was updated successfully, but these errors were encountered: