{"repo":"kkomelin/laravel-translatable-string-exporter","free":true,"listed":false,"github":"https://github.com/kkomelin/laravel-translatable-string-exporter","clone":"git clone https://github.com/kkomelin/laravel-translatable-string-exporter.git","description":"Translatable String Exporter for Laravel","language":"PHP","stars":329,"topics":["laravel","translations","export","exporter","json","localization","translation"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Translatable String Exporter for Laravel You can use ('Translate me') or @lang('Translate me') with translations in JSON files to translate strings. Translatable String Exporter is aimed to collect all translatable strings of an application and create corresponding translation files in JSON format to simplify the process of translation. Versions Package PHP ---------- ------------ 1.15.1 ^7.2\\ ^8.0 1.18.0 ^8.0 1.25.0 ^8.2 Even though we drop support for PHP versions in minor releases, Composer ensures that users with previous versions of PHP don't get not-yet-supported PHP code. Installation Normally, it's enough to install the package as a development dependency. Configuration To change project defaults, use the following command to create a configuration file in your config/ folder and make necessary changes in there: Usage Export translatable strings Where is a language code or a comma-separated list of language codes. For example: The command with the \"es,bg,de\" parameter passed will create es.json , bg.json , de.json files with translatable strings or update the existing files in the lang/ folder of your project. Find untranslated strings in a language file (command) To inspect an existing language file (find untranslated strings), use this command: The command only supports inspecting one language at a time. To export translatable strings for a language and then inspect translations in it, use the following command: Find untranslated strings in a language file (IDE) An ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kkomelin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kkomelin/laravel-translatable-string-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}