Skip to content

philipp-ullmann/paperclip_i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paperclip I18n

Is an extension for the thoughtbot paperclip plugin to i18n support to file upload. Every language has a seperate file scope.

  • Tested with Rails 3.1

Installation Instruction

Add this line to your Gemfile

gem 'paranoid_i18n'

Bundle update in your console:

bundle update

You may want to run the generator for final touches (see next step).

Generator

There's a generator which creates the basic model, migration & controller for you:

rails g paperclip_i18n
rake db:migrate

You have to specify the controller in your config/routes.rb

resources :assets, :only=>[:show]

About

Adding I18n image upload support to paperclip plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages