Add param context to get locales from http header. 

Use "locales" to inject the locales with type List<Locale>.