Blade-Translateble-Extractor is a PowerShell script designed to extract translatable strings from Laravel Blade template files. It scans specified directories, identifies strings used in the translation function, and outputs them in JSON format.
- Scans Blade template files in a specified directory.
- Extracts unique translatable strings.
- Outputs results in a JSON file.
- PowerShell
- Laravel project with Blade files
-
Clone the repository or copy and past the code into a
.ps1file:git clone https://github.com/tauseedzaman/Blade-Translatable-Extractor.git
-
Open PowerShell and navigate to the script directory and adjust the variables.
-
Run the script:
./script.ps1
