From: Bill Erickson Date: Sun, 11 Sep 2011 15:20:39 +0000 (-0400) Subject: TPac: locale handling improvements X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=447cc4abd73074c85cf03bd156020f7f42a73eb4;p=evergreen%2Fequinox.git TPac: locale handling improvements Allow Locale::Maketext to fall through to parent locales (superordinate) when the a translation for a string in the given locale is not present. Locale::Maketext suppports arbitrary-length locale tags, so it's possible to create locale hierarchies. For example, you could create branch-specific translations that fall through to system, then full locale, then base locale, then the default template strings. en_us_systemA_branchX => en_us_systemA => en_us => en =>