You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to js files I'm using i18next in pug templates, e.g. #{t('frontpage.login-button')}. Has there been any discussion to include pug files in this plugin? It would be great to get the i18n keys extracted also from pug templates and combined with the keys from js files.
My current solution is to manually extract the keys using grep and inserting those to dummy js file to get the keys merged with other keys.
grep -ohP '(?<!\w)t\(.*?\)'*.pug > dummy.js
It works but is not ideal.
The text was updated successfully, but these errors were encountered:
In addition to js files I'm using i18next in pug templates, e.g.
#{t('frontpage.login-button')}
. Has there been any discussion to include pug files in this plugin? It would be great to get the i18n keys extracted also from pug templates and combined with the keys from js files.My current solution is to manually extract the keys using grep and inserting those to dummy js file to get the keys merged with other keys.
It works but is not ideal.
The text was updated successfully, but these errors were encountered: