Description
Translatable String Exporter is a Laravel package that collects every translatable string in your application and writes them into JSON translation files. You mark strings with the translation helper or the lang Blade directive, and the exporter creates files for the languages you name, such as es, bg and de, or updates the files already in your lang folder. It also helps you find untranslated strings. One command inspects an existing language file and lists the strings that are still untranslated, but it works with one language at a time. Another command exports the strings and then inspects the result. A third approach is to search for entries whose original and translated text are the same, which you can do in your IDE. Installation is normally done as a development dependency with Composer. A configuration file can be published to change the project defaults. The README includes a version table that lists which PHP version each release line supports, from PHP 7.2 onward. The package is open source on GitHub.…
Highlights
- Export translatable strings to JSON files
- Create or update files for several languages
- Find untranslated strings with a command
- Configurable defaults
- Works with Laravel translation helpers
Ratings & Reviews
No ratings yet
Be the first to rate Laravel Translatable String Exporter.
People also visit
Laravel Translatable String Exporter FAQ
What does the package do?
It scans your Laravel app for translatable strings and writes them to JSON language files so you can send them for translation.
How do I install it?
Install it with Composer as a development dependency. Then publish the configuration file if you want to change the defaults.
Which PHP versions are supported?
The README lists a version table: releases from 1.15.1 support PHP 7.2 and 8.0, later releases need PHP 8.0 or newer, and recent ones need PHP 8.2 or newer.
How do I find untranslated strings?
Use the inspection command on one language file at a time, or search your IDE for entries whose original and translated text are identical.
What are the best Laravel Translatable String Exporter alternatives?
Popular alternatives to Laravel Translatable String Exporter include DevTranslate, Shipi18n and Traduora. See all Laravel Translatable String Exporter alternatives






