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

Already on GitHub? Sign in to your account

Change the language server side #12

Open
guidone opened this Issue Sep 25, 2012 · 1 comment

Comments

Projects
None yet
2 participants

guidone commented Sep 25, 2012

This is the scenario:

PayPal sends a confirmation for a payment and mail is sent back to user with the receipt of the purchase: the language of the email must be inferred from the locale of the user and not from the PayPale web bot/user agent

would be nice to be able to access to all language resources and pick up one manually (currently the complete set of resource/languages are private inside guru.js)

Thanks

You can add a middleware before lingua and manually set req.query['lang']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment