PHPackages                             krisawzm/oc-lang-compare - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. krisawzm/oc-lang-compare

ActiveLibrary[Localization &amp; i18n](/categories/localization)

krisawzm/oc-lang-compare
========================

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

1.0.0(11y ago)137MITPHPPHP &gt;=5.4.0

Since Apr 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kalfheim/oc-lang-compare)[ Packagist](https://packagist.org/packages/krisawzm/oc-lang-compare)[ Docs](https://github.com/krisawzm/oc-lang-compare)[ RSS](/packages/krisawzm-oc-lang-compare/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

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
-------

[](#install)

In your project's root directory:

```
$ composer require krisawzm/oc-lang-compare

```

This installs an executable at `vendor/bin/oc-lang-compare`

Usage
-----

[](#usage)

### Validate single directory:

[](#validate-single-directory)

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

### Validate everything in /modules

[](#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.

Examples
--------

[](#examples)

Validates the Norwegian language in modules/backend/lang:

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

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
------------------------------

[](#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.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4041d ago

Major Versions

0.0.1 → 1.0.02015-04-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4445087?v=4)[Kristoffer Alfheim](/maintainers/kalfheim)[@kalfheim](https://github.com/kalfheim)

---

Tags

languagetranslationoctober cms

### Embed Badge

![Health badge](/badges/krisawzm-oc-lang-compare/health.svg)

```
[![Health](https://phpackages.com/badges/krisawzm-oc-lang-compare/health.svg)](https://phpackages.com/packages/krisawzm-oc-lang-compare)
```

###  Alternatives

[willdurand/js-translation-bundle

A pretty nice way to expose your translation messages to your JavaScript.

58917.1M55](/packages/willdurand-js-translation-bundle)[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

543638.1k4](/packages/codezero-laravel-localized-routes)[kkomelin/laravel-translatable-string-exporter

Translatable String Exporter for Laravel

3291.4M10](/packages/kkomelin-laravel-translatable-string-exporter)[boxblinkracer/phpunuhi

Easy tool to work with translation files for validation, exports, imports and more.

83225.2k17](/packages/boxblinkracer-phpunuhi)[tractorcow/silverstripe-fluent

Simple localisation for Silverstripe

92421.6k26](/packages/tractorcow-silverstripe-fluent)[whitecube/lingua

A PHP language codes converter, from and to the most common formats (ISO, W3C, PHP and human-readable names).

441.2M15](/packages/whitecube-lingua)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
