• Resolved abledragon

    (@abledragon)


    Hi guys,

    I’m a Premium member, and I’m having problems with Chinese characters displaying in URLs:

    When I go to a Chinese language catalogue and then hover over one of the products on the first catalogue page, the link to the product detail page comes up correctly, incorporating Chinese characters, and I can navigate to the product detail page. But if I click through to the second (or any other) catalogue page the Chinese characters in the URL for the product detail page are replaced with ??? – like this:

    https://www.preowned.karlmayer.com/????/???/product/rs4-msu-n-71127/?

    … and I am bounced back to the English language front page.

    If I then click back to the first catalogue page the ??? are still in the URLs for the product detail pages but, if I then hit F5 to refresh the page, the URLs display correctly again and I can navigate to a product detail page (but only on the first catalogue page).

    I have cleared the cache and tried it in different browsers, but the problem is still the same.

    I am using WPML pro as my translation plugin.

    What steps can I take to resolve this?

    Many thanks!

    Martin.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter abledragon

    (@abledragon)

    Sorry – I should have given you a link to the site – it is:

    https://www.preowned.karlmayer.com/

    Hi Martin,

    Sorry for the delay in our response. I’m wondering if it might have something to do with the fact that you have your WPML set up to append something on the URL to change languages (i.e. “?lang=zh-hans”). We also use a GET command like this to display our single product pages. So, perhaps it’s trying to add two separate GET commands to the URL, which doesn’t work properly. I know WPML offers the ability to show the different languages in their own directory (i.e. https://www.preowned.karlmayer.com/zh-hans instead of the current appending on the end of the URL). If you switch to this option in WPML, does it make a difference?

    Thread Starter abledragon

    (@abledragon)

    Hi there,

    No worries…

    I changed the WPML option but it makes no difference – still exactly the same as before: the URLs display and work properly when the catalogue page is first accessed or refreshed. But if I go to the second (or any other) page and hover over the catalogue thumbnail the parent page and catalogue page elements in the URL path are replaced with ????.

    I’ve linked to a screenshot below that shows the URL that comes up at the bottom left of the screen for a product detail page when I hover over the link:

    https://abledragon.com/images/URL-of-Product-Detail-Page.jpg

    Just also want to wish you and the other UPC team members a happy Christmas and all the best for 2017. I appreciate the support you guys give and it is a great plugin.

    Cheers,

    Martin.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi able,

    Thanks for your kind words! Merry Christmas and a wonderful 2017 to you as well!

    Would it be possible for you to send us an email at [email protected]? We’ve got a debugging version of the plugin that should provide more information about what might be going wrong that we’d like to send to you.

    Thanks for your help.

    Thread Starter abledragon

    (@abledragon)

    Hi Rustaurius,

    Sure – i’ve sent an email separately with the link to this thread in the subject line.

    Just in case it goes astray for any reason my email address is:

    martin [at] abledragon [dot] com.

    Cheers,

    Martin.

    Hi Martin,

    We received your email and responded to it with attached plugin files.

    Thread Starter abledragon

    (@abledragon)

    Hi guys,

    Many thanks – just a belt and braces check: I would normally deactivate and delete the installed plugin to be sure of getting a clean install of the new plugin – will my settings be retained when I install the new plugin if I deactivate and delete the current plugin..?

    Cheers..!

    Martin.

    Hi Martin,

    As long as you don’t touch the database, then, yes, your settings will be retained. They are all stored in the wp_options table of your database and, as such, should be there when you activate the new version.

    Thread Starter abledragon

    (@abledragon)

    Hi Guys,

    I’m afraid the problem is still there – here are the steps I took:

    1. Deactivated and deleted the current version of the plugin (4.1.6)

    2. Installed the new plugin and tested. The problem was worse because the ???? in the URLs for product detail pages appeared on first loading the catalogue page and after hitting F5 to refresh. However, the plugin version was 4.1.3

    3. I updated to the current version (4.1.6) and the state returned to exactly as it was: the URLs displaid and acted correctly on first loading the catalogue page but the ???? appeared as soon as I moved to page 2 and remained there on all catalogue pages until I hit F5 again.

    The WPML URL setting for URL structure is still set at using a separate folder for the Chinese pages. I did not test changing that.

    Cheers,

    Martin.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Martin,

    Sorry that the test version we sent didn’t correct the problem. We’re going to send another version over by email, hopefully with a better result this time!

    We’re having a bit of trouble with this one, as we’re not able to recreate in our test environments:

    https://www.etoilewebdesign.com/DevelopmentOne/这是什么/

    Thread Starter abledragon

    (@abledragon)

    Hi Rustaurius,

    I got an error with the latest version, so I replied to your email with full details of each step I took and the response it generated, including the full text of the error message, along with a screenshot. I also sent you a follow-up with a clarification (sent by forwarding my earlier reply to you).

    It’s New Year’s Eve here in HK, so let me wish everyone on the team all the very best for 2017..!

    Cheers,

    Martin.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Martin,

    Thanks for letting us know. We’ll follow up via email in that case, to keep everything in one place.

    All the best for 2017 to you as well!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Problem Displaying Chinese Language’ is closed to new replies.