0.0
No commit activity in last 3 years
No release in over 3 years
A wrapper for jquery qLabel plugin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

qlabel-rails

A Rails wrapper for the jQuery plugin qLabel by Denny Vrandecic (Google).

qLabel is a JavaScript library that helps you create multilingual websites.

qLabel looks for HTML elements that are annotated with an URI, a unique identifier for the entity mentioned, uses the URI to look up the label in the requested language, and then displays the label.

See https://googleknowledge.github.io/qlabel

Installation

Add this line to your application's Gemfile:

gem 'qlabel-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install qlabel-rails

Next, add the following line to your application.js file (after jQuery is included):

//= require jquery.qlabel

Restart your server, and you're good to go.