ClamAV 0.96.5

> > but taking a pragmatic
> > approach in the code by checking the suffix against
> > Locale.getISOLanguageCodes().
> 
> 
> patch in progress…


done. see http://article.gmane.org/gmane.comp.apache.tiles.scm/578

Easy if the suffix after the underscore is obviously not a locale, 
 but in some situations it could be, eg the language code is valid but
not the country/region.

> • if the resource name contains "_" and after it there is no supported locale 
> language code then the whole resource name is treated as a non-localized path.
>   This situation prints a warning like 
>   > No supported matching language for locale "zz". Using /my/path_zz.html as 
> a non-localized resource path.
> 
> • if the resource name contains "_" and after it there is a supported locale 
> language code but the locale constructed isn't valid/supported then the 
> closest supported locale is used.

>   This situation prints a warning like
        
>   > For resource /my/path_en_ZZ.html the closest supported matching locale to 
> "en_ZZ" is "en". Using /my/path.html as resource path. 

~mck

-- 
"Perl: The only language that looks the same before and after RSA
encryption." Keith Bostic 

| http://github.com/finn-no | http://tech.finn.no |

Reply via email to