poedit
poedit copied to clipboard
Add support for Laravel's Blade templates
The Laravel's Blade templates are quite similar to Twig. By now, we are using this instructions and works well with trans
and trans_choice
keywords (used by Laravel).
The only addition must be the translation directives (@lang
and @choice
) that are transformed to trans
and trans_choice
internally.
Can you add support for this files?. Thanks!
By now, we are using this instructions and works well with trans and trans_choice keywords (used by Laravel).
Doesn't work so well when HTML attributes start being involved.
Yes, this is planned.
(Obligatory: Please thumbs-up this issue if this is of interest to you.)
Thanks Václav, we use Poedit in multiple Laravel projects, let me know if you need some testing...
@vaites Thanks, I'm going to take you up on that offer when the time comes!
+1, I use also laravel blade templates.
Globally, I think Poedit Pro lacks a feture to add "custom tags" to a language.
For example, in my php templates, I would like to have the chance to add "{{" and "}}" tags as equivalent of php tags ("<?php" and "?>", or "<?" and "?>"
) in "php language" files.