🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

locales_panel

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

locales_panel

bundlerRubygems
Version
1.0.2
Version published
Maintainers
1
Created
Source

Locales Panel

Change translations directly in a published site.

Use by visiting http://.../locales/edit.

Saving will overwrite YAML locale files.

Installation

Add to Gemfile:

gem 'locales_panel'

Run in console:

$ bundle

Add to config/routes.rb:

locales_panel

... or customize route with a scope, like:

scope :admin do
  locales_panel
end

Set authorization in config/application.rb. It can be any before_filter you like. For devise:

def locales_panel_before_filter
  authenticate_user!
end

Join

Create pull request or contact on chat.

todo

  • download link
  • add to git link
  • check with rails 3
  • validation
  • highlight untranslated
  • translate editor itself
  • css

FAQs

Package last updated on 21 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts