File: TODO

package info (click to toggle)
liblocale-codes-perl 3.82-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,756 kB
  • sloc: perl: 137,696; sh: 22; makefile: 2
file content (65 lines) | stat: -rw-r--r-- 1,756 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Use Web::Scraper

o  Add 1<->many relationships
      code X1 in set 1 = A
      code X2 in set 1 = B
      code Y1 in set 2 = A,B
          code2code(X1) => Y1
          code2code(X2) => Y1
          code2code(Y1) => X1,X2
o  Add support for UTF-8
o  Read in first codes
   Second codes have code overlap (i.e. foo-alpha-2 overlaps alpha-2) to check
      for aliases
   Any name with UTF-8 has known substitutions (e' => e) and reports if any
      non-ASCII characters found

Add capabilites of
   Locale::Codes::Multilingual
   Locale::Country::Extra
including unicode, phone prefix


??? Make the name list and alias lists case sensitive.  RT 92680

Add regional codes including:
   MARC:  http://www.loc.gov/marc/countries/   Jarkko Hietaniemi

=========

http://tools.ietf.org/html/rfc5646
language tags (i.e. language [-script] [-region] [-variant]* [-extension]* [-privateuse]
   language :
     x-*
     i-*
     alpha-2 language code
     alpha-3 language code
     qaa-qtz-*
   region :
     alpha-2 country code
     UN M.49 code

Type: region   ISO 3166-1, UN M.49

=========

Create a new package:  Locale-Codes-Links
   links codes of one type to another
      NOT necessarily 1-to-1
   function:
      link(TYPE1 [CODESET1 [CODE1]] TYPE2 [CODESET2 [CODE2]])
         => ( LINK1, LINK2, ...)     all links between types

   TYPE = Language, Script, ...
   LINK = [ CODESET1,CODE1, CODESET2,CODE2 ]

   If all 6 pieces of information are given, returns 1 if the link exists.

   Locale::Codes::Links::Language-ExtLanguage
      links ExtLanguage to Language

Based on RT-61345:

   Add support for language subtags:
      http://www.iana.org/assignments/language-subtag-registry
      http://www.w3.org/International/articles/language-tags/