almai
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] Non translating WooCommerce titles in Widgetthank you for your detailed answer. I had the same experience with the support. The plugin development is almost non existent. Although there are mixed opinions on WPML plugin I think I will give it another try. Thanks again for your help!
Regards
AlexForum: Plugins
In reply to: [qTranslate X] Non translating WooCommerce titles in WidgetHi,
I use woocommerce with qtranslate-x and the storefront theme. I’m encountering a problem with the product titles in the loops on the static front page. After changing the language everything gets translated except the aforementioned product titles. When I save a random product in the backend and refresh the frontpage the titles are displayed in the correct language. I tested it with the twenty seventeen and the twenty sixteen themes and the error is reproducible. I had other places where the translation did not work in the desired way but was able to get rid of them but not this one. The qtranlate-x team on Github is unfortunately not very helpful either.
Did anybody of you have the same problems and if yes how did you solve them?
@robertpokorn, I saw that you changed from qtranslate-x to WPML. Why did you change? Would you advice others to do the same?
I already entered a whole bunch of products, categories and so on. It would really be a pain in the a… to change the translation plugin just to find out that there are other inconsistancies that will bug me.
Thanks for your help in advance
AlexIn addition to the previously mentioned solution you should dump the database and replace all old URLs that point to the media files, e.g:
sed 's/http:\/\/domain.de\/media/http:\/\/cdn.domain.de\/media/g' old.sql > new.sqlI figured it out:
- With some basic SQL knowledge you can determine all posts of post type attachment that do not have an entry with the meta_key “amazonS3_info” in the table wp_postmeta.
- Extract the file name of each attachment from the old guid in wp_posts.
- Add for each attachment a line like the following to functions.php and refresh the website:
add_post_meta( 2868, 'amazonS3_info', array('bucket' => "your-bucket", 'key' => "path/to/media/in/bucket"));