kairei

Forum Replies Created

Viewing 11 posts - 61 through 71 (of 71 total)
  • Author
    Posts
  • in reply to: Multi-lingual Custom Post Type Slugs #369910

    kairei
    Expired Member
    Post count: 78

    Yup, sorry – when I started I thought they were separate but moving just to that one makes sense given all the info we have now. Thanks!

    in reply to: Multi-lingual Custom Post Type Slugs #369880

    kairei
    Expired Member
    Post count: 78

    After some more messing around (including running the GD tool) I now magically have a “URL slug: therapists” option showing up in string translation with domain “WordPress” but it doesn’t seem to help anything.

    in reply to: WPML Compatibility #369868

    kairei
    Expired Member
    Post count: 78
    This reply has been marked as private.
    in reply to: WPML Compatibility #369867

    kairei
    Expired Member
    Post count: 78

    I have another support ticket to translate my custom post type slug:

    https://wpgeodirectory.com/support/topic/multi-lingual-custom-post-type-slugs/

    After translating my custom type’s slug (the /therapists/ part above) I’m back to the same issue of “too many redirects.” No amount of tinkering with the various settings seems to be solving it.

    I’ll post temporary admin credentials privately.

    in reply to: Multi-lingual Custom Post Type Slugs #369866

    kairei
    Expired Member
    Post count: 78

    So, I just enabled WPML’s string management and at the top of the “WPML > String Translation” page I searched for my custom type “Therapists” and got two results with Domain “geodirectory.” These are showing without having run the GD tool.

    First was the string “Therapists” with no context. When translated, this seemed to change the text in some places but not all. E.g. the breadcrumbs now had the translated term but the top menu didn’t (although I think I’ve seen that is set separately in the custom type definition). So, it seems this is all good.

    Second was the string “therapists” with the context “URL slug.” That also seemed to partially work, meaning when I’m on a map page, the link to the listing detail page now uses the translated slug. However, when I actually try to go to that page, it fails due to being “redirected to many times.” Now it appears this ticket may overlapping with my other ticket about the too many redirects thing:

    https://wpgeodirectory.com/support/topic/wpml-compatibility-2/

    When I do run the GD tool and try to go through all the instructions you referenced, I find that the slug “therapists” isn’t in the db-language.php file so when I try to follow through with the PO Edit stuff, that string just isn’t there so now I’m thoroughly confused. 🙁 Sorry if I’m missing something obvious.

    Btw, not sure this matters but my site’s default language as set by WPML is Japanese, not English, since I want a Japanese first experience (the English version will be secondary).

    in reply to: WPML Compatibility #369850

    kairei
    Expired Member
    Post count: 78

    This also seems settable via WPML settings directly at “WPML > Translation Management > Multilingual Content Setup > Custom Posts” and setting the radio button to “Translate” for my custom “Therapists” type. This seems more intuitive since you set it here and it affects all listings.

    However… while confirming that this was in fact the same setting I’d adjusted on an individual listing, I set that same value above to “Do Nothing” and everything still worked. So, now it seems that this isn’t the setting that fixed it after all, or that by turning it on once there was some side effect, perhaps. While I am 99% sure I tested my URLs and they didn’t work, then changed the setting above on an individual listing and them my URLs immediately worked, it is possible I did something else that was the actual fix.

    In any event, the immediate issue is fixed so I’m happy and can move on, but I’m very confused so if you have any insight, I’d love to hear it.

    in reply to: WPML Compatibility #369845

    kairei
    Expired Member
    Post count: 78

    I’ve been trying a bunch of stuff and found that if I edited one of the Therapist listings from the admin site, there is a a “Multilingual Content Setup” box at the very bottom and if I check the “Make ‘Therapists’ translatable” box, it works. Not just that one therapist, but all of them. Not sure if I missed that in the setup instructions somewhere, but is that supposed to be a required step?

    in reply to: WPML Compatibility #369696

    kairei
    Expired Member
    Post count: 78

    So, I used your permalink settings to just have it use an URL like this:

    /therapists/私のテスト/

    which is just the custom post type slug and the listing title. With those settings, with WPML enabled, I don’t get the redirect issue but a 404. With WPML disabled, all is still fine with these permalink settings.

    in reply to: Multi-lingual Custom Post Type Slugs #369693

    kairei
    Expired Member
    Post count: 78

    It seems like your permalinks options give me the option to show/hide everything in the URL above except the CPT slug. Now I’ve got it down to just this:

    /therapists/私のテスト/

    which is exactly what I wanted, just the CPT type and the title, if only I could translate that slug part. Hopefully I’m just missing something.

    in reply to: WPML Compatibility #369690

    kairei
    Expired Member
    Post count: 78

    Also, other pages on the site seem to work fine with WPML enabled, it is just the listing detail page.

    in reply to: WPML Compatibility #369689

    kairei
    Expired Member
    Post count: 78

    Btw, an example URL is:

    https://マッサージ.com/therapists/日本/東京都/東京/指圧/私のテスト/

    I have WPML disabled at the moment so it works fine but not sure if there are any potential issues with using Japanese locations as I’ve done above.

Viewing 11 posts - 61 through 71 (of 71 total)