mweimerskirch / wordpress-qtranslate-support-for-woocommerce

Plugin to make qTranslate work with WooCommerce
wordpress.org/plugins/qtranslate-support-for-woocommerce/
MIT License
6 stars 7 forks source link

Category not translated #3

Closed wocmultimedia closed 10 years ago

wocmultimedia commented 10 years ago

Hey Michel,

I used the [:it] [:en] coding to add categories and attributes, while attributes show fine in product frontend the categories have a weird issue, they show the entire code and it happen also on order form. Please, can you fix it? check at this link to see the behaviour, I cannot continue changing plugin unless you state that I have to use your plugin+qTranslate slug for category. http://www.wocmultimedia.biz/ Looking forward to hearing from you Angelo

wocmultimedia commented 10 years ago

It happens with all themes, I tested with 5 different themes basic WP and Advantage and Mystile (wootheme). Using your plugin+qTranslate slug fixes only category problem in Shop Page but not in checkout. I need to get ASAP a reply. I'm stuck, please, check it. Thanks categorynottranslated-checkoutpage categorynottranslated-shoppage

wocmultimedia commented 10 years ago

Hi Michel, I saw that since the review and a comment I add in another post on woocommerce plugin I wrote yesterday your plugin doubled the downloads. Can you take care of this situation a bit faster? Otherwise I will use qTranslate Slug that at least translate correctly categories and are also found by wp while using your plugin the category are not found besides the weird quitags shown. If tomorrow I don't get any reply I give your plugin up. Thanks a lot. Angelo

mweimerskirch commented 10 years ago

You have to remove the whitespaces in the brackets. e.g.

[:en]

instead of

[ :en ]

That should solve your problem.

And about your comment "Can you take care of this situation a bit faster?". This is free software. You are free to use something else.

wocmultimedia commented 10 years ago

Well Michel, Two things: 1- I use qtranslate from may months I know how to write quicktags, attached you can see the backend of one category so you can state there's no empty space.

2- I suppose was your interest to have people supporting your work and I forgot was weekend time. categorynottranslated-backendpage

mweimerskirch commented 10 years ago

Could you try disabling other plugins that might interfere? I really can't reproduce the issue on my system. By the way, which other WooCommerce plugins are installed?

wocmultimedia commented 10 years ago

I deactivated all plugins except qTranslate and woocommerce but same result. I have no other woocomerceplugin. I use PaidMemembershipsPro which doesn't interfere with woocommerce because it works perfectly in another site that is one language. In any case I deactivated all plugins without any different result

wocmultimedia commented 10 years ago

Hey Michel, I wish to help you solve it. The problem is in the Shop Page of woocommerce !!! Something prevent it of recognizing your plugin. Because, if you go in the single product page it works correctly also clicking on the category link under the product it shows correctly the available product in the category. So, you have to investigate in the shop page and same problem is firing in checkout page....I wish this can help you more

wocmultimedia commented 10 years ago

I give you one more hint, I also tested "product category widget" and the category name is shown correctly but it doesn't find the category and switch to homepage. If I add the category how subelement of shop page, then title is shown correctly and also the category is found with no problem. So it must be something related to AJAX command in woocommerce. Looking forward to hearing from you.

wocmultimedia commented 10 years ago

Here's My temporary solution I created a Custom Menu with Categories made with your plugin and added to sidebar with Custom Menu Widget. It's my weird solution waiting for your fixing, don't forget that in checkout page the problem is still visible custommenucategoryfrontend productcategorybackend

mweimerskirch commented 10 years ago

I still couldn't reproduce your issues with the categories, but I fixed two problems with the product attributes with version 1.0.2. Is it possible that you actually meant those instead of the categories?

wocmultimedia commented 10 years ago

Hi Michel, thanks for supporting me. No you can clearly see from the picture above say Product Category. If you visit the site you can see it http://www.wocmultimedia.biz/ check by yourself if you send me your mail I give a credential for entering and test like admin.

GREAT YOU FIXED ATTRIBUTE! That's was another problem and now it is fixed, Category still not.

mweimerskirch commented 10 years ago

Ok, I see you are using both. What are you using to display the category filter at the top of the shop? Is that a plugin? Or a widget included with WooCommerce? Or part of the template?

wocmultimedia commented 10 years ago

Is woocommerce template in the shop page and woocommerce widget product category in the sidebar. You are quite near because you fixed category in breadcrumbs which now are correct. I can remove the category in shop page but it's nice the effect people get when click on it. In any case the woocommerce Product Category widget on the side bar doesn't work. It shows perfectly the label but if you click the category name it switch to homesite page

mweimerskirch commented 10 years ago

Breadcrumbs are included with WooCommerce. I've never used them in a project so I didn't notice they were broken so I couldn't fix them earlier.

But unfortunately, I can't do anything about theme-related problems. You should contact the theme developers to help you out, or hire a developer to fix the problem in a child theme.

Also, the product category widget problem is not related to the translations, so nothing I can do about it. You should check your permalink settings or have a developer look into your code.

wocmultimedia commented 10 years ago

Noooooooo Michel isn't theme related, I tested with 7 themes and this is something related to woocommerce category

wocmultimedia commented 10 years ago

product category widget come with woocommerce not with the theme and is quite indispensable to filter products in sidebar

mweimerskirch commented 10 years ago

The category widget problem is not related to qTranslate or this plugin. You should check your permalinks settings and if that doesn't help contact the WooCommerce developers.

The category filter on top of the shop is included with the theme. You should ask the theme developers for help or hire a developer to fix it in a child theme.

wocmultimedia commented 10 years ago

Well Michel, I'm back to you to inform what I found out testing deeply the plugin. Category created with your plugin have only one slug for both language and even if I create a custom menu with categories when clicking on the second language menu I get "page not found" error. If I create a category with qTranslate Slug, it has two slug box one for each language. I add to my custom menu widget and it works perfectly in both languages. I suggest to have a look at this plugin to understand what happen to category translation. I will use both plugin together because I also find out that after creating category with qTranslateSlug active then I can deactivate and the menu still works fine. I suggest you to investigate your plugin to get a better fix, forget woocommerce product category widget (it comes with woocommerce plugin but works fine only with one language). I wish my suggestions can help you. Thank you for your precious support. Angelo