adobe / htl-spec

HTML Template Language Specification
Apache License 2.0
280 stars 146 forks source link

Allow java.util.Locale objects to be used in i18n locale option #14

Closed vladbailescu closed 9 years ago

vladbailescu commented 9 years ago

Considering its name we should also allow java.util.Locale objects in the i18n locale option:

${"Foo" @ i18n, locale=resource.locale}
raducotescu commented 9 years ago

This is an implementation detail, pertaining to Java. We should not tie expression options to programming languages specific features.