<commit_before>== Description
A ripl plugin that translates ripl to your preferred language.

== Usage

Add to your ~/.riplrc:

    require 'ripl/i18n'
    # Use your language: :es maps to es.yml
    Ripl.config[:i18n_locale] = :es

If you want to load and use your own locale:

    Ripl::I18n.load 'path/to/my_lang.yml'
    Ripl.config[:i18n_locale] = :my_lang

== Contribute Your Language

As I would like to make ripl available in as many languages as possible,
please do add your own! Here's all you have to do:

* Fork this project. It's dead-easy to do this with the {fork and edit
  button}[https://github.com/blog/844-forking-with-the-edit-button].
* Create a .yml file under lib/ripl/i18n/locales/ for your language.
  If you're not sure what locale to use for your language, {see
  some examples}[https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale].
* Be sure to translate all the keys in lib/ripl/i18n/locales/en.yml.

== Inspiration
http://yugui.jp/articles/863
<commit_msg>tweak readme<commit_after>== Description
A ripl plugin that translates ripl to your preferred language.

== Usage

Add to your ~/.riplrc:

    require 'ripl/i18n'
    # Use your language: :es maps to es.yml
    Ripl.config[:i18n_locale] = :es

If you want to load and use your own locale:

    Ripl::I18n.load 'path/to/my_lang.yml'
    Ripl.config[:i18n_locale] = :my_lang

== Contribute Your Language

As I would like to make ripl available in as many languages as possible,
please do add your own! Here's all you have to do:

* Fork this project.
* Create a .yml file under lib/ripl/i18n/locales/ for your language.
  If you're not sure what locale to use for your language, {see
  some examples}[https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale].
* Be sure to translate all the keys in lib/ripl/i18n/locales/en.yml.

== Inspiration
http://yugui.jp/articles/863

{'fraction_non_alphanumeric': 0.10319148936170212, 'fraction_numerical': 0.019680851063829788, 'mean_word_length': 3.6444444444444444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '2580858', 'n_tokens_mistral': 695, 'n_tokens_neox': 633, 'n_words': 226}