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

Cache locale resolution #9

Closed
totherik opened this issue Nov 26, 2013 · 3 comments
Closed

Cache locale resolution #9

totherik opened this issue Nov 26, 2013 · 3 comments
Assignees
Labels

Comments

@totherik
Copy link
Contributor

With caching disabled, the following formats are both supported:

res.locals.context = {
    locality: 'en_US'
};
res.locals.context = {
    locality: {
        country: 'US',
        language: 'en'
    }
};

however with cache enabled only the latter successfully resolves.

@jeffharrell
Copy link
Contributor

@pvenkatakrishnan this probably applies to localizr as well. Can we look at using one variant (preferably the latter since it doesn't require string parsing) and not both?

@pvenkatakrishnan
Copy link
Member

sure will do.

@aredridel
Copy link
Contributor

This is obsolete by Makara 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants