Translating Country Slug

This topic contains 24 replies, has 4 voices, and was last updated by  Kiran 6 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #380130

    kairei
    Expired Member
    Post count: 78
    This reply has been marked as private.
    #380131

    kairei
    Expired Member
    Post count: 78

    Also, I’ve noticed a second symptom of what I assume is part of the same problem or very closely related:

    Actual working URL for listing:

    http://stg.マッサージ.com/スクール/日本/沖縄県/那覇市/マッサージスクール/

    URL that is saved (e.g. when viewed in admin editor) and linked to from archive pages:

    http://stg.マッサージ.com/スクール/マッサージスクール/

    This link doesn’t work.

    When viewed on the http://stg.マッサージ.com/スクール/ page this is the only one with an image.

    The breadcrumb on this page (ホーム > スクール > 日本 > 沖縄県 > 那覇市 > マッサージスクール) work and show all the expected segments, but none of the links work, meaning they give a “No Records Found” for the city and region (but it shows the records for country).

    If you want a separate ticket for this, please let me know but it is the same site and a similar issue of permalinks not really doing what I expect…

    #380572

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    If you want a separate ticket for this, please let me know but it is the same site and a similar issue of permalinks not really doing what I expect.
    <
    Now seems it working can you confirm.

    I have done following steps (try in your main site)
    – Go WPML > String Translation & search “schools” slug
    – Translate the untranslated slug for “schools”
    – Go re-save permalinks settings from Settings > Permalinks

    I also checked problem that showing Japanese country name on English language pages. I am still looking more to find problem.

    Thanks,
    Kiran

    #380625

    Kiran
    Moderator
    Post count: 7069

    Hi,

    It seems now, problem showing Japanese country name on English language pages also has been fixed. Can you confirm from your side?

    Thanks,
    Kiran

    #380703

    kairei
    Expired Member
    Post count: 78

    Yes, both issues are fixed on the stg site.

    All I did on the prod site was translate the “Domain: WordPress; URL slug: schools” value to スクール. That fixed the “second symptom,” thanks! I’m confused as to why the URL slug translation was needed… it was serving the page at the correct URL but when saving the school in the admin site it was giving it the wrong URL. Seems like those two places (responding to URL and saving URL) would use the same slug but apparently the one that does the saving uses the new one we translated?

    On the prod site, the country name is still showing in Japanese. Did you make another change on the stg site to fix that?

    #382071

    Kiran
    Moderator
    Post count: 7069

    Sorry i missed this one.
    The steps listed in my previous reply will fix it. Please try to search text “schools” and then “スクール” in WPML > String Translation and complete translation if any one found translation not completed.

    If still it not fix the problem, the we need admin credentials to look there.

    Kiran

    #382760

    kairei
    Expired Member
    Post count: 78

    The “schools” issue is the one that is fixed. It is the “Japan / 日本” issue that remains. I still see breadcrumb trails like this:

    … Businesses > 日本 > Tokyo > …

    where the middle one should say “Japan” in English. Above you’d said “I am still looking more to find problem.” so still thought maybe you were looking into how that one got fixed since it is working on the stg site now. Did you not do anything specific to fix that and it just “magically” got fixed?

    #382777

    Kiran
    Moderator
    Post count: 7069

    Hi,

    I mentioned steps in my one of previous replies, that has done to fix this on staging site. But not sure why it not fixing the problem on live site if you have done same steps. 🙂
    Please provide admin details of live, we have to look there to assist you more.

    Kiran

    #382923

    kairei
    Expired Member
    Post count: 78

    Can you give me the comment number of the steps you’re referring to? I see in #380572 the fix for “schools” but not the fix for “Japan” being shown as “日本” on the English page.

    #382946

    Kiran
    Moderator
    Post count: 7069

    Here are the steps to fix:
    1) Go WPML > String Translation & search “Japan” string with “Exact match” ticked
    2) Translate the untranslated string for “Japan” > Mark Translation is complete > Save
    3) Go WPML > String Translation & search “日本” string with “Exact match” ticked
    4) Here if you see any result which has source language English and test is “日本” then change language of that string to Japanese > After page refreshed set Japan for EN language for that strings.

    If still you have a problem then compare search results on live and staging sites for steps 1) & 3).

    Kiran

Viewing 10 posts - 16 through 25 (of 25 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket