No commit activity in last 3 years
No release in over 3 years
This gem highlights missing translations on page with background color.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.16
~> 10.0
 Project Readme

Missing::I18n::Highlighter

Missing::I18n::Highlighter highlights missing translations on page with color provided as parameter. Default color is #729adb which is sky blue. It also shows a popup over the translation missing.

Preview

Here is how it highlights page with missing translation:

missing-i18n-highlighter

Usage

Add this line to your application's Gemfile:

gem 'missing-i18n-highlighter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install missing-i18n-highlighter

Require js and css file

In application.js

//= require missing_i18n_highlighter

and In application.css

*= require missing_i18n_highlighter

Yeah That's it ! !

Restart your rails server to see the changes and visit the page you want to highlight missing translations on.

Development

Any new feature you want ??

create an issue or create a pull request for your feature.

Contributing

Make sure you install and configure Js Lint and Align tab to validate js that you write. Bug reports and pull requests are welcome on GitHub at https://github.com/abhishekkanojia/missing-i18n-highlighter.

License

The gem is available as open source under the terms of the MIT License.