a VS Code Extension for Easily Localize any blade/php text in any Laravel project.
- Custom array key for each translation.
- Auto detect duplicated array keys.
- Auto detect current file type to replace selection with the proper directive/method.
- Auto creation of lang/ar/localize.php directory if doesn't exists (arabic localization by default, but localize.php can be re-used).
- Auto detect invalid localize.php & auto re-create the file.
You may configure the following settings (Settigs
-> Extensions
-> Laravel Eazy Localize
):
Language Folder
: Lang Directory Folder to save translations to (ar
by default).Target File Name
: Target Translation file name (localize
by default).
It only reads & writes to /resources/lang/ar/localize.php file, cannot select custom location✅.- No support for nested array keys (ex: key1.key2).
- maybe replace .php lang files with JSON lang files which will help make lang file validation more accurate + easier to parse & write to.
- prompt to user to select which lang file to write to with default option available if none is selected.
- you tell me.
- Initial release.
- Fixed 'undefined' array key bug.
- Edited README md.
- Added extension settings to specify Lang folder name & target translation file name.