-
Notifications
You must be signed in to change notification settings - Fork 215
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
Compatibility with TranslatePress #4190
Comments
I guess this would be fixed at the same time: #3760 |
Related ticket: https://secure.helpscout.net/conversation/1838299316/335912 |
Related ticket: https://secure.helpscout.net/conversation/1995267507/365271/ |
Hi, |
Thank you @razvan-translatepress! Do you maybe have a function that would allow us getting the flag images of active languages, like here? wp-rocket/inc/functions/i18n.php Line 18 in 14eba34
|
Scope a solution ✅Cleaning all version of updated post. Clearing cache via TranslatePress UI for 2.5.7+ For the Admin bar
Estimate the effort ✅ |
I have added to existing gist a 4th item with a code example on how to get flags and language names for active languages. |
When using TranslatePress and WP Rocket we don't purge the cache for additional languages when updating content.
The permalink structure in this case is like this:
Default language: example.com
Additional language: example.com/de/
The customer in this case noted it specifically related to WooCommerce products, but the issue is the same for non-Woo content as well since I guess WP Rocket won't be aware of any other language.
We could create compatibility as we do for Polylang etc.
As with other multilingual plugins, various URL configurations are allowed and should be detected: https://jmp.sh/QAwHjUf
Ticket: https://secure.helpscout.net/conversation/1573104333/280196?folderId=377611
The text was updated successfully, but these errors were encountered: