Download the PHP package krisawzm/oc-lang-compare without Composer
On this page you can find all versions of the php package krisawzm/oc-lang-compare. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download krisawzm/oc-lang-compare
More information about krisawzm/oc-lang-compare
Files in krisawzm/oc-lang-compare
Package oc-lang-compare
Short Description A tool for checking if your translations in the October CMS are up-to-date.
License MIT
Homepage https://github.com/krisawzm/oc-lang-compare
Informations about the package oc-lang-compare
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.
Install
In your project's root directory:
This installs an executable at vendor/bin/oc-lang-compare
Usage
Validate single directory:
Validate everything in /modules
This will automatically check the modules/backend/lang
, modules/cms/lang
and modules/system/lang
directories.
Examples
Validates the Norwegian language in modules/backend/lang:
Note: All directories are relative to your working directory.
Note 2: Running from your project's root directory, you'll have to include the vendor/bin
path.
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.