Ticket #12 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Update language codes to reflect changes from RFC3066 to RFC4646

Reported by: deveiant Owned by: deveiant
Priority: high Milestone: Bugfix/Update Release
Component: English Version: 1.0.5
Severity: critical Keywords: language iana i18n rfc3066 rfc4646 rfc5646 iso636 code
Cc:

Description (last modified by deveiant) (diff)

The language codes in the iso639.rb module are now obsolete:  the RFC that used to define best practices for language codes has been replaced by RFC4646  a new one that removes all of the ambiguity around which code was the correct one to use in any given situation.

Linguistics should be updated to reflect these changes.

Strategy:

  • Download and parse  the IANA language code registry, generating a module that encapsulates the language-code registry as part of the build
  • Add a deprecation warning to iso639.rb and change the library to use the new module.

Change History

comment:1 Changed 2 years ago by deveiant

  • Keywords rfc5646 added
  • Description modified (diff)
Note: See TracTickets for help on using tickets.