Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 792 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 792 Bytes

TranslationsChecker

This Gem provides checks for translation placeholders. It checks for:

  • Locale strings that have been added to en, but not to other locales
  • Locale strings that have been removed from en, but not from other locales
  • Locale strings that have been added to all locales, but do not have the correct placeholder label in non-en locales (eg. [ja])

This is related to the "Crowdin" work and is used in TMP via a git pre-push hook.

Installation

Added to Gemfile:

gem "translations_checker", git: "[email protected]:locomote/translations_checker.git", branch: "master", require: false

Usage

bundle exec translations_checker