Sha256: aa9be14036d6468fd3af7c0cfffe45df1a6b3f542b8c59d2799bebc6270776d6

Contents?: true

Size: 1.42 KB

Versions: 9

Compression:

Stored size: 1.42 KB

Contents

[![Build Status](https://api.shippable.com/projects/544232fcb904a4b21567a417/badge?branchName=master)](https://app.shippable.com/projects/544232fcb904a4b21567a417/builds/latest)
[![Code Climate](https://codeclimate.com/github/kaspernj/awesome_translations/badges/gpa.svg)](https://codeclimate.com/github/kaspernj/awesome_translations)
[![Test Coverage](https://codeclimate.com/github/kaspernj/awesome_translations/badges/coverage.svg)](https://codeclimate.com/github/kaspernj/awesome_translations)

# AwesomeTranslations

## Install

```ruby
gem 'awesome_translations', group: :development
```

Then run the following:
```
bundle exec rake awesome_translations:install
```

Insert this into your "routes.rb" file:
```ruby
mount AwesomeTranslations::Engine => "/awesome_translations" if Rails.env.development?
```

## Translations under controllers and models

If you want to do translations from your models or controllers, you will need to add this to a new initializer file under "config/initializers/awesome_translations.rb"

```ruby
AwesomeTranslations.load_object_extensions
```

You will also need to modify the line in your Gemfile a bit:
```ruby
gem 'awesome_translations'
```

## Translating your application

Start a Rails server for your project and go to the namespace called something like "http://localhost:3000/awesome_translations". Start translating your app through the webinterface.


# License

This project rocks and uses MIT-LICENSE.

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
awesome_translations-0.0.17 README.md
awesome_translations-0.0.16 README.md
awesome_translations-0.0.15 README.md
awesome_translations-0.0.14 README.md
awesome_translations-0.0.13 README.md
awesome_translations-0.0.12 README.md
awesome_translations-0.0.10 README.md
awesome_translations-0.0.9 README.md
awesome_translations-0.0.8 README.md