mynewsdesk / deprecated-translate

A Ruby on Rails plugin with a web interface for translating I18n texts
http://developer.newsdesk.se/2009/01/21/translate-new-rails-i18n-plugin-with-a-nice-web-ui
MIT License
346 stars 87 forks source link

Rails3 #11

Open ccoenen opened 14 years ago

ccoenen commented 14 years ago

just a quick fix for rails 3 support. I was just testing the plugin, and i think it's a great help.

dimir commented 13 years ago

Thanks man. One problem with Rails 3.0 though. How to setup routes since there is no "map" command?

kivanio commented 13 years ago

you can just add map in block:

Roadtracker::Application.routes.draw do |map| Translate::Routes.translation_ui(map) if RAILS_ENV != "production"

it does not make normal rails3 routes stop work.