twitter/twitter-cldr-rb — pull request #61 by KL-7 (2012-08-10 16:22:24+00:00)
Title: Language codes conversion

Here's the initial implementation of language codes conversion.

Conversion logic relies on the `language_codes_table` file that is present in two formats at the moment: YAML and marshaled dump. The implementation itself uses marshaled dump, because loading data from YAML version takes almost a second (file size is more than 1Mb). I added YAML version to the PR only for you, @cameron, to see how the data is structured. Later I'm going to remove both `language_codes_table.yml` and `language_codes.yml` (that contains data initially imported from the official standards' files) from the repository to reduce gem size.

Let me know what you think about the conversion interface.