Thanks for the reply and the link, Dave. ¿A bug since 2004? It seems that Sun is becoming lazy. I think that the lack of a standard way to add new locales to the environment is the true bug in the Java support for localization.
Anyway, as I said earlier, I don't need any of the DateFormating functions, I only need message location in Galician. It would be great if I could use the message location functionality (¿from Struts?) even if the Locale is not present in the system. Dave Johnson-8 wrote: > > On 2/19/07, Oscar Puga <[EMAIL PROTECTED]> wrote: >> I was trying to add support for message location in a new locale in >> Roller >> 3.0 (galician, SPAIN: gl_ES), >> so I copied ApplicationResources, renamed the copy to >> ApplicationResources_gl_ES.properties and started to translate messages. >> But >> when in Roller Admin pages, in weblog configuration, gl_ES wasn't present >> in >> the locales offered to selection. > > We get the list of available locales by calling > Local.getAvailableLocales() > http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html > > Apparently, the fact that es_GL is missing is a Java bug reported in > 2004 with staths "In progress, request for enhancement": > http://tinyurl.com/2743l3 > > I'm not sure if there is a way to workaround that bug. > > - Dave > > > >> >> Where does Roller extract the list offered to selection for a weblog? How >> can I expand this list of locales with the new one? >> >> Note: >> In effect, gl_ES is not installed as a locale in my java runtime, but I >> not >> need DateFormat or other Locale specific functionality, >> I only need message location in gl_ES. >> >> -- >> View this message in context: >> http://www.nabble.com/support-for-a-new-locale-in-Roller--tf3252113s12275.html#a9040307 >> Sent from the Roller - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/support-for-a-new-locale-in-Roller--tf3252113s12275.html#a9056278 Sent from the Roller - User mailing list archive at Nabble.com.
