https://github.com/pentatonicfunk/pot-similarity
One is too many string to translate
https://github.com/pentatonicfunk/pot-similarity
gettex pot translation wordpress
Last synced: about 2 months ago
JSON representation
One is too many string to translate
- Host: GitHub
- URL: https://github.com/pentatonicfunk/pot-similarity
- Owner: pentatonicfunk
- Created: 2018-08-09T04:43:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T07:14:43.000Z (almost 8 years ago)
- Last Synced: 2026-03-29T21:42:59.053Z (2 months ago)
- Topics: gettex, pot, translation, wordpress
- Language: PHP
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pot Similarity
[](https://travis-ci.org/pentatonicfunk/pot-similarity)
[](https://codecov.io/gh/pentatonicfunk/pot-similarity)
Feeling too much string to translate ? do pre-scan with this.
## 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
# Globally
$ composer global require pentatonicfunk/pot-similarity:dev-master
# In your project
$ composer require --dev pentatonicfunk/pot-similarity:dev-master
## 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
- pot_path Path of the pot file
- threshold_percentage Thresehold Percentage of similar text [default: 70]
## Troubleshoot
### Memory limit
increase memory limit