-
Notifications
You must be signed in to change notification settings - Fork 93
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
Test Polylang #2284
Comments
@cynthianorman feel free to leave your testing feedback here. |
Successfully installed on Learn WordPress local dev env |
Consider upgrading at some point to Pro |
We can select the languages we want to translate pages and posts to Note that showing the flag in the front end is optional |
You can create translated menus |
We assign a language to a page or post Note, we are able to do the same thing with courses |
It's important to know that we essentially build a separate set of pages/posts/taxonomies and corresponding menu for each language. For this reason, we would need to create the copied English page/post and designate it as French (for example) otherwise I don't believe this will work out for us. In other words, the copied English page/post would act as a placeholder until a translator would contribute the translation. https://drive.google.com/file/d/1ZLAMfGTc4nOa6Cl9Wdgo5BFpZEiBf4KR/view?usp=sharing |
@cynthianorman do you think you'd be able to update this issue with a summary of your findings, in a similar way as the WPML test? Edit, I've prepared the list in the comment below, so you just need to mark off the relevant items. This will allow me to prepare a summary comparison table of our test findings for the training team meeting on Thursday. |
Front-end requirements:
Back-end requirements:
|
ok @jonathanbossenger done |
Perfect, thank you so much! |
@sebastienserre I have been testing PolyLang this week, and I have encountered a blocker that I hope you can help resolve. Learn.WordPress.org uses Sensei LMS to manage our course content: https://wordpress.org/plugins/sensei-lms/ Sensei allows you to create course, and then create modules within the course and lessons within the modules: I am then able to navigate to individual lessons, and use the PolyLang feature to create different language versions of the individual lessons successfully: However, as soon as I assign the language and link the translated version of a lesson to the English one, the relationship between the module and the lesson is broken. If I navigate back to the course edit screen, the translated lesson does not appear anymore in the module. Are you able to assist in determining why this is happening? |
Hello @jonathanbossenger Here is a quick video where I show you What I'have found. I'm not used to use Sensei and at helpdesk we do not have so much request for this plugin, so I hope I'm matching your request. The "course" post meta seems to be synchronized between the same lesson in different language. This is due to a WPML compatibility because Polylang is compatible with the WPML API to understand plugin & theme compatibility made for this plugin. To stop this synchronization, you can create a
If some others post_meta needs to be ignored, then Of course, what is done thanks to the |
Hey @sebastienserre, no problem at all; I'm not used to PolyLang, so we're all figuring this out together. 😁
That does seem to be correct, so I will test your suggestion and report back with my findings. |
The initial sync is made by the Sensei LMS wpml-config.xml available at their root https://plugins.trac.wordpress.org/browser/sensei-lms/trunk/wpml-config.xml You can see lots of copied "custom fields" some other post metas are sync and may "break" your test. Adding some lines with Like WordPress with a child theme, Polylang will read first the plugin root wpml-config.xml file, then the parent theme one (if exists), then the child theme one, then check in |
Hello @sebastienserre. With the suggested wpml-config.xml config in place, I am still experiencing the problem. I have created a screen recording of what I am seeing, I hope this will help you understand what I'm experiencing. 2024-10-02.15-30-25.mp4 |
Front-end requirements:
Back-end requirements:
The text was updated successfully, but these errors were encountered: