ahmedkaludi / wp-multilang

16 stars 3 forks source link

Different product or post images for each language #20

Closed Sanjeevsetu closed 6 months ago

Sanjeevsetu commented 7 months ago

I use WooCommerce to display my clients' products on the website.

He asked me to be able to use different product images for every language.

Does WP Multilang support such thing? Maybe it can be tweaked to do so?

Sanjeevsetu commented 7 months ago

WP Multilang is not able to have featured images for every language. If WooCommerce uses the featured image, then this task is not possible. If WooCommerce uses post meta data, it can be done by altering the configs in https://github.com/VaLeXaR/wp-multilang/blob/master/configs/plugins/woocommerce.json. As I don't use WooCommerce I can't tell you, what to change here.

As an awkward workaround you can post a product for every language and tick the settings "Show post only in …" for each language. But this is not how it's meant to be. Here it's more on your client, if it's possible to prepare images that fits every language.