Download the PHP package elgentos/magento2-untranslated-strings without Composer

On this page you can find all versions of the php package elgentos/magento2-untranslated-strings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-untranslated-strings

elgentos/magento2-untranslated-strings

Magento 2 module that detects untranslated strings at runtime, reports them in an admin grid and can translate them automatically with Claude (Anthropic API) through Magento's message queue.

A spiritual successor to the Magento 1 extension EW_UntranslatedStrings.

How it works

  1. Detect — a plugin on Magento\Framework\Phrase\Renderer\Translate checks every rendered phrase against the loaded translation dictionary (i18n CSVs, theme translations and database translations) for the current store locale. Strings without a translation are buffered per request and flushed to the database in a single query at shutdown.
  2. Report — findings appear under Reports → Untranslated Strings: filterable, sortable and exportable, with occurrence counts, store view, locale and the URL where the string was first seen.
  3. Translate — select rows and use the Translate with Claude mass action. The rows are queued (Magento message queue, DB transport — no RabbitMQ required) and a consumer sends them to the Anthropic API in batches. Successful translations are written to Magento's native translation database table (store-scoped) and go live after the automatically-invalidated translate / full_page caches are refreshed. Failed rows get status Error with the error message in the grid; re-select them to retry.

Installation

Configuration

Stores → Configuration → Advanced → Untranslated Strings

Setting Scope Description
Log Untranslated Strings store view Enables runtime detection. Off by default.
Anthropic API Key global Encrypted. Create one at console.anthropic.com.
Claude Model global Defaults to claude-opus-4-8.

Detection adds a small overhead per rendered phrase — enable it per store view, ideally on development or staging while you browse/crawl the shop, then review the report.

The queue consumer

Translation runs asynchronously through the consumer elgentosUntranslatedStringsTranslate. With Magento's default consumers_runner cron configuration it starts automatically. To run it manually:

Notes

License

MIT


All versions of magento2-untranslated-strings with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
anthropic-ai/sdk Version ^0.7
magento/framework Version >=103.0
magento/module-backend Version *
magento/module-config Version *
magento/module-store Version *
magento/module-translation Version *
magento/module-ui Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package elgentos/magento2-untranslated-strings contains the following files

Loading the files please wait ...