Skip to content

tauseedzaman/Blade-Translatable-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Blade Translateble Extractor

image

Overview

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.

Features

  • Scans Blade template files in a specified directory.
  • Extracts unique translatable strings.
  • Outputs results in a JSON file.

Requirements

  • PowerShell
  • Laravel project with Blade files

Usage

  1. Clone the repository or copy and past the code into a .ps1 file:

    git clone https://github.com/tauseedzaman/Blade-Translatable-Extractor.git
  2. Open PowerShell and navigate to the script directory and adjust the variables.

  3. Run the script:

    ./script.ps1

About

Script that scans Laravel Blade files to find and extract translatable strings for easy localization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published