<commit_before>[![Code Climate](https://codeclimate.com/github/tzumby/champollion/badges/gpa.svg)][codeclimate]
[![Build Status](https://travis-ci.org/tzumby/champollion.svg?branch=master)][travis]
[![Test Coverage](https://codeclimate.com/github/tzumby/champollion/badges/coverage.svg)][codecoverage]

[travis]: https://travis-ci.org/tzumby/champollion
[codeclimate]: https://codeclimate.com/github/tzumby/champollion
[codecoverage]: https://codeclimate.com/github/tzumby/champollion/coverage


# Champollion
Champollion is a Rails engine that allows storing I18n translation in a database. The engine also integrates with front-end Angular translations by providing a controller action with a json response that a plugin like  [angular-translate](https://github.com/angular-translate/angular-translate "Angular Translate")  can pick up and use.

## Rails 4.2

Add the gem in your Gemfile. Note that for now you will have to include the i18n-active_record gem as a dependency in the Rails application because the latest stable gem is on a separate git repository.

```
gem 'i18n-active_record', :git => 'git://github.com/svenfuchs/i18n-active_record.git', :require => 'i18n/active_record'
gem 'champollion'
```
<commit_msg>Added badge link to readme file<commit_after>[![Gem Version](https://badge.fury.io/rb/champollion.svg)[badge]
[![Code Climate](https://codeclimate.com/github/tzumby/champollion/badges/gpa.svg)][codeclimate]
[![Build Status](https://travis-ci.org/tzumby/champollion.svg?branch=master)][travis]
[![Test Coverage](https://codeclimate.com/github/tzumby/champollion/badges/coverage.svg)][codecoverage]

[travis]: https://travis-ci.org/tzumby/champollion
[codeclimate]: https://codeclimate.com/github/tzumby/champollion
[codecoverage]: https://codeclimate.com/github/tzumby/champollion/coverage
[badge]: http://badge.fury.io/rb/champollion


# Champollion
Champollion is a Rails engine that allows storing I18n translation in a database. The engine also integrates with front-end Angular translations by providing a controller action with a json response that a plugin like  [angular-translate](https://github.com/angular-translate/angular-translate "Angular Translate")  can pick up and use.

## Rails 4.2

Add the gem in your Gemfile. Note that for now you will have to include the i18n-active_record gem as a dependency in the Rails application because the latest stable gem is on a separate git repository.

```
gem 'i18n-active_record', :git => 'git://github.com/svenfuchs/i18n-active_record.git', :require => 'i18n/active_record'
gem 'champollion'
```

{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.009316770186335404, 'mean_word_length': 5.624678663239075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 15, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7401976', 'n_tokens_mistral': 874, 'n_tokens_neox': 840, 'n_words': 211}