Statically typed i18n support for Java