Skip to content

j0hn-mc-clane/laravel-language-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Language Tags

Usage

Simply run the python script main.py using a Python interpreter (2.7).

Provide a project location of your laravel installation, this script will scan all files in /resources/views for language tags. After scanning they will be saved in the /resources/lang/XX folder, using respective provided country codes, according to Laravel's lang file format.

Warning

This script will override any existing language folders and files, so make sure you have a backup of existing language files.

Contributing to this project

Contributing to this project is encouraged! Edit it to your own liking or request features for the script.