<commit_before>## RefineryCMS-Translation ##

A simple approach to content translation for [RefineryCMS](http://refinerycms.org).

Features:

* Mark string or block as translatable in you view, key-value * locale.
* Let the end-user translate from Refinery backend
* On the first request that need translation, locale for every language is created
* You can define translated string to be edited with text_field or WYMeditor in the backend.
* Translation are cached
* When the content change, the translation is marked as out-dated to ease site maintenance.

### Install ###

Install the plugin

> gem install refinerycms-translations

Copy the migration file

> rake refinerycms:translation:install
<commit_msg>Readme for Rails 3<commit_after>## RefineryCMS-Translation ##

A simple approach to content translation for [RefineryCMS](http://refinerycms.org).

Features:

* Mark string or block as translatable in you view, key-value * locale.
* Let the end-user translate from Refinery backend
* On the first request that need translation, locale for every language is created
* You can define translated string to be edited with text_field or WYMeditor in the backend.
* Translation are cached
* When the content change, the translation is marked as out-dated to ease site maintenance.

### Install ###

Install the plugin

Add this line to your Gemfile:
gem 'refinerycms-translations', :git => '<EMAIL>:seasonlabs/refinerycms-translations.git'

Install the gem
> bundle install

Copy the migration file
> rails generate refinerycms_pepes

{'fraction_non_alphanumeric': 0.06688311688311688, 'fraction_numerical': 0.0006493506493506494, 'mean_word_length': 4.94980694980695, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '3330959', 'n_tokens_mistral': 411, 'n_tokens_neox': 396, 'n_words': 190}