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
I'm excited to start working with this starter. Just getting into Vue.js too, so please bare with me. I've got a client whose site needs to have English and French, and we normally use WPML for that. How would this typically work with this Vue/WP setup? Or would it at all?
Thanks, and let me know if you need more info.
Cheers
The text was updated successfully, but these errors were encountered:
So there are a few approaches you can take with this one. Since you are using WPML I am guessing that in order for you to take advantage of the translations you will be required to add a custom hook that intercepts the API request before it is sent to the front end and translates it there.
In this case, you would generate the translation file from the content stored in the WPML plugin. The benefit here would be that you would only have to generate that file when translations are added or changed. This provides ample opportunity to cache the translation file on the server or even locally.
In either case there some customization to the template and to WordPress will be required.
Hi Evan,
I'm excited to start working with this starter. Just getting into Vue.js too, so please bare with me. I've got a client whose site needs to have English and French, and we normally use WPML for that. How would this typically work with this Vue/WP setup? Or would it at all?
Thanks, and let me know if you need more info.
Cheers
The text was updated successfully, but these errors were encountered: