Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: attempt a fallback translation key lookup to Translation class #27

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

johsoe
Copy link
Contributor

@johsoe johsoe commented Oct 31, 2020

In the case where there's inconsistencies in various CDN versions of each language in a NStack app, we can end up in a scenario where language returned from NStack does not contain a key that the app was built with.

(This is something we're looking into fixing server side, so all languages are published each time)

A fallback is to look at the value in the Translation class, which should contain the an older value, since the app was built with that particular version of Translation.

@johsoe johsoe changed the base branch from master to develop October 31, 2020 16:19
@johsoe johsoe merged commit bed7656 into develop Mar 18, 2021
@johsoe johsoe deleted the fix/missingkeyfallback branch March 18, 2021 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants