Open chkal opened 9 years ago
Comment by Manfred Riem:
See http://docs.oracle.com/javase/8/docs/api/java/util/Locale.LanguageRange.html
Comment by Santiago Pericas-Geertsen:
Do we need anything about this in the spec? Or is this mostly an implementation concern? I'm leaning towards the latter, at least for version 1.0.
Comment by Christian Kaltepoth:
IMO there are a few areas which might need some work regarding different locales / languages:
Comment by lefloh:
Do we also need a way to configure the default locale for an application?
Comment by Christian Kaltepoth:
+1 for this. And if there is no default locale configured for the application, we could still fall back to Locale.getDefault().
Comment by mkarg:
+1 for default locales at application level and fallback to Locale.getDefault(): There might be cases when the browser's locale doesn't match the supported locales of the server, so the server has to fallback to "something" in the end.
Comment by Christian Kaltepoth:
I'm currently working on a prototype. I'll share more details on the mailing list soon.
Original issue MVC_SPEC-27 created by Santiago Pericas-Geertsen:
Write example for Locale and Language support. Ensure that view engines get a access to the information necessary to generate pages in the correct locale and language.