Handling translations in JavaScript Code
- Rename Theme / plugin to match textdomain
- From within the docker container (
10updocker shell
) move to the theme directory (cd wp-content/themes/tenup-theme/
) - Run
make-pot
cli command and excludenode_modules
anddist
directorieswp i18n make-pot . languages/tenup-theme.pot --exclude=node_modules/ --exclude=dist/