Awesome
Gibber
Gibber replaces text with nonsensical latin with a maximum size difference of +/- 30%.
Useful for testing the effects of localization on UI.
Installation
Add this line to your application's Gemfile:
gem 'gibber'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gibber
Usage
gibber = Gibber.new
gibber.replace("I have a passion for crooked bananas")
# => A arcu a fringilla nisi tempus venenatis (maybe)
# Roughly translates to 'From the bow, poisoned from the ecological, unless time'
Gibber preserves any non wordy characters to give your text that texty feel.
Contributing
- Fork it ( https://github.com/[my-github-username]/latin_replace/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request