PHPackages                             pentatonicfunk/pot-similarity - 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. pentatonicfunk/pot-similarity

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

pentatonicfunk/pot-similarity
=============================

One is too many string to translate

015[1 issues](https://github.com/pentatonicfunk/pot-similarity/issues)PHP

Since Aug 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pentatonicfunk/pot-similarity)[ Packagist](https://packagist.org/packages/pentatonicfunk/pot-similarity)[ RSS](/packages/pentatonicfunk-pot-similarity/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Pot Similarity
==============

[](#pot-similarity)

[![Build Status](https://camo.githubusercontent.com/96f8154357a11d074084bdca6303b6b7a91ebb656ffcc5e3636ea16f94e5972a/68747470733a2f2f7472617669732d63692e6f72672f70656e7461746f6e696366756e6b2f706f742d73696d696c61726974792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pentatonicfunk/pot-similarity)[![Code Coverage](https://camo.githubusercontent.com/863ce08830c7bc77894d926c7de331cfe28b89db7204df7247269d22051599be/68747470733a2f2f636f6465636f762e696f2f67682f70656e7461746f6e696366756e6b2f706f742d73696d696c61726974792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pentatonicfunk/pot-similarity)

Feeling too much string to translate ? do pre-scan with this.

Current Limitation
------------------

[](#current-limitation)

- Not handling any `context`, if you use `__x()` on WordPress, take extra care on the results
- Not handling any `plural`, if you use `__n()` on Wordpress, take extra care on the results

Installation
------------

[](#installation)

```
# Globally
$ composer global require pentatonicfunk/pot-similarity:dev-master

# In your project
$ composer require --dev pentatonicfunk/pot-similarity:dev-master

```

Usage
-----

[](#usage)

```
# Globally
$ export PATH=~/.composer/vendor/bin:$PATH
$ pot-similarity find:similar /mnt/e/wsl/wpmudev-ms/wp-content/plugins/forminator/languages/forminator.pot 96

# In your project
$ ./vendor/bin/ pot-similarity find:similar /mnt/e/wsl/wpmudev-ms/wp-content/plugins/forminator/languages/forminator.pot 96

```

### Arguments

[](#arguments)

```
- pot_path              Path of the pot file
- threshold_percentage  Thresehold Percentage of similar text [default: 70]

```

Troubleshoot
------------

[](#troubleshoot)

### Memory limit

[](#memory-limit)

```
increase memory limit

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/831674?v=4)[Hendrawan Kuncoro](/maintainers/pentatonicfunk)[@pentatonicfunk](https://github.com/pentatonicfunk)

---

Top Contributors

[![pentatonicfunk](https://avatars.githubusercontent.com/u/831674?v=4)](https://github.com/pentatonicfunk "pentatonicfunk (17 commits)")

---

Tags

gettexpottranslationwordpress

### Embed Badge

![Health badge](/badges/pentatonicfunk-pot-similarity/health.svg)

```
[![Health](https://phpackages.com/badges/pentatonicfunk-pot-similarity/health.svg)](https://phpackages.com/packages/pentatonicfunk-pot-similarity)
```

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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