Simple tool to help with localization process on laravel template files.
##Example You can check demo here
##Instructions
- Open blade template in your favorite code editor.
- Add @lang('filename.key') before every string you can get in localization array.
- Copy blade template into localization tool and send it.
- After that you get code for localization file and parsed blade template without original strings.
- Copy those to your project files.
- Repeat process with your next blade template.
##Contribute! If you want to handle some extra scenarios in your blade templates please contact with me through issues tab.
##Input Laravel Blade template with @lang definitions before correct strings. Examples below.
<p class="status">
@lang('projects.project_status')Status
</p>
##Output Laravel localization array and blade template with cut off ogiriginal strings.
<?php
return array(
'project_status' => 'Status',
);
<p class="status">
@lang('projects.project_status')
</p>
##Roadmap
- add warnings about strings without @lang definition