contentful / vault

Easy persistence of Contentful data for Android over SQLite.
https://contentful.github.io/vault/
Apache License 2.0
85 stars 19 forks source link

Locale FallBack is not Proper #166

Open Deepa-3010 opened 3 years ago

Deepa-3010 commented 3 years ago
  1. In the Contentful dashboard, we choose three locales sv-SE, sv, and en-US,
  2. The setUp is as follows when the locale is sv, it falls back to sv-SE and if contents are not present for locale sv-SE it falls to en-US
  3. We have populated sv-SE contents
  4. But when we use the Vault to get string for sv we get the strings of en-US , but the expected is contents of sv-SE must be fetched

I would request to check the fallback of the locale using Vault. This is blocking me. Please look it into the issue.

Deepa-3010 commented 3 years ago

Hi There,

I have not still heard any explanation on this. It is a very common scenario. Please respond I conclude that there is an issue with the vault SDK. If sv locale has no contents, instead of publishing content to the fallback locale specified at the Contentful environment i.e sv-SE.It falls back to the Default locale i.e in this case en-US.

Let me know...