Skip Menu |
 

This queue is for tickets about the Locales CPAN distribution.

Report information
The Basics
Id: 73268
Status: resolved
Priority: 0/
Queue: Locales

People
Owner: Nobody in particular
Requestors: dmuey [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Add get_locale_fallback() (putting on rt since the public can;t see my private TODO list)
Download (untitled) / with headers
text/plain 312b
like others it would take the locale as an argument or use the objects's locale. It should return a uniq()d list of: the CLDR fallback list, itself, the lang part of itself if it is a lang_territory tag, results of special lookup code ref (e.g. for custom i_ tag fallback lookup), en L::M::U
Subject: Add get_locale_fallbacks() (putting on rt since the public can't see my private TODO list)
Download (untitled) / with headers
text/plain 671b
actually, the CLDR list should not be first, duh: 1) itself 2) supers (if any), CLDR fallbacks (if any), results of special lookup code ref (e.g. for custom i_ tag fallback lookup) if any, 3) en get_locale_fallbacks() should return #2, a convienience method should exist to return 1,2,3 On Wed Dec 14 19:01:39 2011, DMUEY wrote: Show quoted text
> like others it would take the locale as an argument or use the objects's > locale. > > It should return a uniq()d list of: > the CLDR fallback list, > itself, > the lang part of itself if it is a lang_territory tag, > results of special lookup code ref (e.g. for custom i_ tag fallback > lookup), > en > > L::M::U
implemented as get_fallback_list() in 0.24 (uploaded last night)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.