We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Translations in Volt files supported by Poedit 2.3

Hi,

I have released a new version of Poedit, the translation editor that is commonly used to handle gettext translations and in particular used to extract them from source code: https://poedit.net/news/poedit-2.3/

Up until now, extracting translations from Volt templates into PO files involved some fragile hacks (see e.g. here on the forum) that sometimes missed some strings and was somewhat hard to setup.

Poedit Pro already had a solution for the same problem with Twig templates for a couple of years. Starting with v2.3, it can do the same for Volt. All it took was realize how similar the two languages are... thanks @Zaszczyk for nudging me in the right direction!

Thank you Václav