Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating multi language support with wpml #7

Open
michaelscheurer opened this issue Jun 4, 2019 · 1 comment
Open

Integrating multi language support with wpml #7

michaelscheurer opened this issue Jun 4, 2019 · 1 comment

Comments

@michaelscheurer
Copy link

michaelscheurer commented Jun 4, 2019

Hi @bucky355

I would like to extend the theme with multilanguage support with the help of the wpml plugin (https://wpml.org/)

Do you have any ideas, how to start? Any hints, how to achieve it?

Thanks a lot

Cheers

Michael

@matiyin
Copy link

matiyin commented Oct 20, 2019

I'm doing a project at the moment with Vue, WPML and WP Rest API.

I use this method to support translation files (json instead of .mo files) and locale switching: https://medium.com/hypefactors/add-i18n-and-manage-translations-of-a-vue-js-powered-website-73b4511ca69c

When you switch language, you can get translations with http://localhost/wp-json/wp/v2/pages?lang=en to get the English data for example and update reactive components with new data.

Maybe it helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants