Translations for Vue parts not working
-
Hi!
We are trying to add a translation to the plugin but it’s not working like we expect.
We use WPML to translate the site. WPML is detecting 74 translatable strings. We translated these but this only changes the strings that are in the PHP templates.
We can see the translations that we need like ‘Keep the bad guys out’ are in the wordpress-2-step-verification.pot file in the languages folder of the plugin but they are not updated to the vue application.
We tried to manually add a .po and .mo file in te languages folder with the translations and in the /wp-content/languages/plugins but they are not being updated in the site.
We looked trough the code and it looks like the translations are never loaded in de i18n plugin in vue.
Can you help us with this problem? We also want to help with the development because we found some other problems to but it looks like there is no way to build the vue files to the assets files. Can you help us with this?
- The topic ‘Translations for Vue parts not working’ is closed to new replies.