An open API service indexing awesome lists of open source software.

https://github.com/akzhan/crystal-cldr

Crystal distribution of CLDR locale data for internationalization.
https://github.com/akzhan/crystal-cldr

crystal internationalization

Last synced: 12 months ago
JSON representation

Crystal distribution of CLDR locale data for internationalization.

Awesome Lists containing this project

README

          

# crystal-cldr [![Build Status](https://travis-ci.org/akzhan/crystal-cldr.svg?branch=master)](https://travis-ci.org/akzhan/crystal-cldr) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Crystal distribution of CLDR locale data for internationalization.

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
cldr:
github: akzhan/crystal-cldr
```

## Usage

```crystal
require "cldr"
```

## Development

This module based on [JSON Data from the Unicode CLDR Project](https://github.com/unicode-cldr/cldr-json).

Generated code built way to avoid generating lots of allocas in LLVM, which makes LLVM really slow ([see details](https://github.com/crystal-lang/crystal/issues/4516#issuecomment-306226171)).

## Contributing

1. Fork it ( https://github.com/akzhan/crystal-cldr/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request

## Contributors

- [akzhan](https://github.com/akzhan) Akzhan Abdulin - creator, maintainer