I used mxdev to install plone6 and add-ons, but the .mo file was not created automatically had to do it manually. Is there something i need to do to create the .mo file automatically??
Perhaps look up how this is done in cookiecutter:
will put this directive in your zope.conf
<environment> zope_i18n_compile_mo_files true </environment>
Also, see 19. Write Your Own Python Add-On to Customize Plone – Mastering Plone 6 Development — Plone Training 2022 documentation and Internationalization and Localization — Plone Documentation v6.0-dev
If you created your add on package with
plonecli, there should be an
i18ndude update script in the package's locales folder. Running this script will create / update your translation template and the language files.