2017 © Pedro Peláez
 

library oc-lang-compare

A tool for checking if your translations in the October CMS are up-to-date.

image

krisawzm/oc-lang-compare

A tool for checking if your translations in the October CMS are up-to-date.

  • Sunday, January 24, 2016
  • by kalfheim
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Tool for validating translations in October CMS. This tool will compare a translated language, using English as a reference, and tell you if anything is missing or has been removed., (*1)

Install

In your project's root directory:, (*2)

$ composer require krisawzm/oc-lang-compare

This installs an executable at vendor/bin/oc-lang-compare, (*3)

Usage

Validate single directory:

$ oc-lang-compare compare:dir path/to/lang lang-code

Validate everything in /modules

$ oc-lang-compare compare:modules lang-code

This will automatically check the modules/backend/lang, modules/cms/lang and modules/system/lang directories., (*4)

Examples

Validates the Norwegian language in modules/backend/lang:, (*5)

$ vendor/bin/oc-lang-compare compare:dir modules/backend/lang nb-no

Note: All directories are relative to your working directory., (*6)

Note 2: Running from your project's root directory, you'll have to include the vendor/bin path., (*7)

Validating plugin translations

This tool runs independent from both October CMS and Laravel. This means you'll be able to validate plugin translations without installing the plugin in October beforehand. Simply clone the plugin repo and run the installation command., (*8)

The Versions

24/01 2016

dev-master

9999999-dev https://github.com/krisawzm/oc-lang-compare

A tool for checking if your translations in the October CMS are up-to-date.

  Sources   Download

MIT

The Requires

 

by Kristoffer Alfheim

language translation october cms

26/04 2015

0.0.1

0.0.1.0 https://github.com/krisawzm/oc-lang-compare

A tool for checking if your translations in the October CMS are up-to-date.

  Sources   Download

MIT

The Requires

 

by Kristoffer Alfheim

language translation october cms

26/04 2015

1.0.0

1.0.0.0 https://github.com/krisawzm/oc-lang-compare

A tool for checking if your translations in the October CMS are up-to-date.

  Sources   Download

MIT

The Requires

 

by Kristoffer Alfheim

language translation october cms