anavel / gettext

Manage gettext translation files from your admin panel
MIT License
1 stars 3 forks source link

Support for context #2

Closed oscarotero closed 7 years ago

oscarotero commented 8 years ago

Allow to define context for each translation. This prevent conflicts using the same text for different purposes:

echo p__('login-form', 'Enviar');
echo p__('comment-form', 'Enviar');