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

Header based Locale Selection for the application #416

Closed
preetkaran20 opened this issue Oct 3, 2022 · 2 comments
Closed

Header based Locale Selection for the application #416

preetkaran20 opened this issue Oct 3, 2022 · 2 comments
Assignees
Labels

Comments

@preetkaran20
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently we are processing all the files as english locale however, we have few locale existing. The task is to figure out the user locale via the local header from the request headers and use the local specific file in the code.

Code for loading the messages is present at: https://github.com/SasanLabs/VulnerableApp/blob/master/src/main/java/org/sasanlabs/configuration/VulnerableAppConfiguration.java#L38. We need to load the specific file based on request header.

@preetkaran20
Copy link
Member Author

#419 Done !!!!

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

1 participant