-
Notifications
You must be signed in to change notification settings - Fork 110
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
Call for support: WooCommerce users needed #608
Comments
Hi there, FRONTEND:
BACKEND:
May also be worth mentioning that "shop_coupon" post type should not be translatable, otherwise coupon codes will not work (even if qtranslate setting to disable translation of this type is available, it can take some time to figure out that's the reason why coupons are not working...) Other stuff (limitated to my use of woocommerce) seems to be working fine. My configuration:
Thanks, |
Hi, i'm one of the contributors of qtranslate-slug. I have a pending release ( 2 years! ). If you enjoyed it, could you help me testing this branch? https://github.com/not-only-code/qtranslate-slug/tree/pcarvalho/fix/130-unique-slug much appreciated. |
@LC43 Hi,
Tried to update permalink structure and applied the "Rebuild all slugs" tool (link to settings in this page to be fixed), with same results as above. |
Many thanks for feedbacks! About the slugs, there is currently a "dev/slugs" folder that i inherited from qTranslate-X but i have no clue about its status or if it has something to do with the project from @LC43. We have to find a way to test it properly and in a convenient way. I don't know yet if it's best to do it in a separate branch or to make it optional in the master branch here. I have to check a bit more in details. About woocommerce it should be the easiest to fix. I'll probably have to install a small environement to test it. I think i saw something about a trick with some cookie but yes it has certainly to be adjusted for SessionStorage. For Gutenberg it's another project and i would at least manage to get an idea of how feasible it is, so it's my current priority right now. But it's great you start using this plugin so we can make it live again after 2 years of complete freeze! All feedbacks are always useful. |
hello folks, i have now integrated the legacy add-on plugin "WooCommerce and qTranslate-X"! IntegrationI have mostly done some cleaning but no deep change on the code. The integration is minimal at the moment, i only check if woo-commerce is activated before loading all this extra stuff. It will only work for very standard installations (as previously). I also check that the legacy add-on plugin (QWC) is not activated because i still use the same function names so QWC cannot be used at the same time. The best solution would be to use namespaces but this require some work as we start from scratch (this good practice seems to be ignored by many wordpress developers who use nasty global functions everywhere...). Anyway for now i have simply adapted the admin notices to be consistent. There will only be a nasty message if you ever try to activate the legacy add-on plugin later on, on top of qTranslate-XT, but you shouldn't do that anyway ;) FixesNevertheless this branch should be already very interesting for WooCommerce users as it brings some fixes that were only available on github (1.4) and never released to wordpress.org (1.3)! Among those, the translation of Category mentioned here by @spleen1981 should now be fixed. I tried on a simple installation and it looks fine. There is also something about the product variations also mentioned by @wywarren in #612 but i'm not sure it solves all you need as i didn't have time for more tests. Let's check that better now! Changelog 1.4 (legacy!)
Enjoy and please let me know how it goes. |
I've added a new feature to automatically disable the legacy add-on plugin for easier integration. This approach could be generalized for other add-ons, it should be easier to handle them inside the main project, as optional modules (with very minimal overhead as those were already binded to another main plugin such as WooCommerce). If people using WooCommerce could try qTranslate-XT on this branch i can merge it and send a new release. It should bring some fixes for some of the issues already being reported. |
Back in the day John wanted q-translate-x to use it's own slugs @herrvigg but apparently he abandoned the project and @LC43 plugin worked with some setups here and there tricks on yoast seo and what not , Also back in the day @LC43 tried to work with John but they did not find a common language. |
Yes i'm aware there is this slugs folder that i kept from the legacy repo. But we should try to merge the slugs plugin project especially if the original authors are available for discussions and experiments. At the moment i have many other things going on with WooCommerce, GravityForms, Gutenberg, and more generally a big refactoring that becomes necessary for the future. And i can only spend little of my free time on this project. |
I tried the qTranslate-XT woocommerce branch, and got a " By the way, commenting out that part, everything seems to work fine, and bugs mentioned in my post above seem to be fixed. As a minor bug, language column in admin product list is out of the table. Maybe a small css rule overide could be implemented to reduce the width for one of the woocommerce default columns to let the language column in the table (es Wordpress 4.9.8 |
Thanks for testing and great it could solve some issues, that's good. About
Do you have a standard WP installation? Otherwise it's some other plugins messing this function up. But it should not be altered by anyone since it is a core WP function. It could be possible to delay the handling of the qtranslate-XT modules on |
What you could do for debugging is to check that the function is loaded as expected. If you don't use a debugger, duplicate your
|
I gave it a look, my understanding is that the |
Good catch, my bad! |
So after checking better, here is how i see the module manager to work:
About the |
@spleen1981 I've sent new changes on the woo-commerce branch. So you're welcome to check with this. It's not very easy to know when to check and load this stuff and qTranslate is quite complicated to read. I think the right moment is on So I have integrated the module manager in the main init function which is |
Ok, seems to be working.
Also, adding qtranslate-xt to a WP installation with qtranslate-x and the former woocommerce add-in, in q-translate-XT settings under Integration>Configuration files a new row is added with this file: |
Hi all, I'm new to GitHub besides downloading one or the other .zip file... I am quite happy that QTranslateXT has come alive and at least some people take care about that faboulus plug-in again!! Using it on our company website together with Woocommerce and I am keen to support with at least testing - my programming skills are basic only. One issue I have and for which at least I have some findings: language switching is working fine for the titles, contents, meta data, etc on the product pages. Also the cart shows the titles correctly. Maybe that leads into the right direction to fix it. Will report further findings and as said - happy to test with real live data. Cheers, |
Hey, thanks for this. Yes you can simply download the zip files from the repo. Just be aware the versioning on the master branch is not necessarily updated, i change the versions only before the releases but only occasionally with the regular commits when it's necessary (to refresh some browser caches). Some issues have been reported with the variable products: #612 #645 #523. At least some of the issues were still seen on the last version of the old integration plugin (1.4). I have just merged the new modules branch into master with this last version of the plugin (see #661). You can now drop the old legacy plugin and try just with qTranslate-XT. |
Hi all, Actually testing this configuration: I noticed some integrations for translate fields are missing on these links: I discovered the issue into the file "qwc-admin.php" of WC module, where the arrays of fields to be translated refers to pages: About the new "/wp-admin/admin.php?page=wc-settings&tab=account" settings tab, need to be implemented the integration for new "#woocommerce_registration_privacy_policy_text" and "#woocommerce_checkout_privacy_policy_text" fields. For "/wp-admin/admin.php?page=wc-settings&tab=advanced" maybe the integration could be useful for every endpoint, but I don't know if it is going to work. I'm gonna try that soon. Regards, |
Thanks @gm-style it's good more WC users shake this part and come up with new fixes. Once you have something working the best is to send a PR (Pull Request) if you can. |
@mwie1409 Did you find a solution for "simple"-product titles? I've the problem in the backend when order is viewed. |
@mwie1409 @IDWeert can you explain me the problem with the title on checkout?
Is that in the admin section or front-end? Please create a new ticket just for this problem and possibly a screenshot. |
@spleen1981 update about your comment:
Follow-up in #755 (not solved yet)
Please could you create a new ticket for this?
I can't reproduce, i don't know when it was fixed but it works for me now (current version 3.7.2).
You can select the post type to translate in QTX settings / advanced. If you see any particular problem after that, please could you create a new ticket? |
This current ticket was to collect issues in WC so the integration with |
Please could you create a new ticket for this?
Follow-up in #755
Now fixed in master - see #787
The old integration plugins are made obsolete by the built-in modules since 3.6.0. |
This ticket is getting too bit so i'm dispatching to see a bit better what is left. Please create new separate tickets for every different topic. Thank you for the help! I still keep this issue open a bit but i lock for now. |
Many fixes for WooCommerce available in 3.7.3 |
@herrvigg |
@herrvigg |
hello,
i know many people are using qTranslate-X with WooCommerce and worrying about the support with qTranslate-XT. I'm not using WC but i looked at the add-on plugin and i don't see anything preventing it to work with qTranslate-XT. This add-on plugin is available at wordpress.org or here: https://github.com/qTranslate-Team/woocommerce-qtranslate-x
I'm considering the possibility to integrate completely this add-on plugin in qTranslate-XT but before i need to have a better understanding of the current status.
Please could some WooCommerce users do the following?
As written in the FAQ, qT-X and qT-XT can still live together. They share both the same options but you should only have one active at a time to avoid conflicts.
For the long-term support I think there is a clear need to specificy a real API but let's take one step at a time.
The text was updated successfully, but these errors were encountered: