This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 5 replies, has 2 voices.
Last updated by Marcel 2 months, 3 weeks ago.
Assisted by: Marcel.
Author | Posts |
---|---|
November 18, 2024 at 9:58 am #16413909 | |
danielJ-8 |
Background of the issue: Symptoms: Questions: |
November 18, 2024 at 5:10 pm #16416097 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, The custom post type is already enabled for translation through an XML configuration, which is why you're seeing the "lock" icon in the settings. I recommend first testing whether the content can be translated using the standard method. You can do this directly on the CPT by clicking the "+" icon or via WPML -> Translation Management. Once this works, we know if the issue is related to "Phase" which I'm not familiar with. Best regards, |
November 18, 2024 at 6:11 pm #16416288 | |
danielJ-8 |
The XML configuration is not enabled because there is NO lock icon in the settings. You see the lock icon beside other CPT, but not on the one I'm talking about. |
November 19, 2024 at 8:28 am #16417994 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, Thanks for the information.
I understand. However, this method is intended as a quick test to confirm the CPT translation is functional. Once verified, you can delete it. You can make the CPT translatable as described here, but I suspect it may not have an impact since WPML already has it enabled for translation. The settings are identical on "1", which is the first option "Translateable". [custom_posts_sync_option] => Array ( [post] => 2 [page] => 2 [attachment] => 1 [wp_block] => 1 [vc_grid_item] => 1 [mc4wp-form] => 1 [wp_navigation] => 1 [wp_template] => 1 [wp_template_part] => 1 [popup] => 1 [popup_theme] => 0 [cookielawinfo] => 1 [acf-field-group] => 0 [thegem_pf_item] => 1 [custom_css] => 0 [customize_changeset] => 0 [oembed_cache] => 0 [user_request] => 0 [wp_global_styles] => 0 [thegem_qf_item] => 1 [thegem_title] => 1 [thegem_footer] => 1 [center] => 1 [wpcf7_contact_form] => 1 [equip] => 1 [thegem_gallery] => 0 [thegem_team_person] => 0 [thegem_client] => 0 [thegem_testimonial] => 0 [vc4_templates] => 0 [thegem_news] => 1 [tribe_venue] => 1 [tribe_organizer] => 1 [tribe_events] => 1 [tribe_rsvp_tickets] => 1 [ticket-meta-fieldset] => 1 [tribe_wooticket] => 1 [events] => 1 [acf-post-type] => 0 [acf-taxonomy] => 0 [totems] => 0 [product] => 0 [product_variation] => 0 [shop_order] => 0 [shop_order_refund] => 0 [shop_coupon] => 0 [shop_order_placehold] => 0 [tribe_rsvp_attendees] => 0 [tribe_tpp_tickets] => 0 [tribe_tpp_attendees] => 0 [tribe_tpp_orders] => 0 [tribe-ea-record] => 0 [deleted_event] => 0 [patterns_ai_data] => 0 [acf-ui-options-page] => 0 [wp_font_family] => 0 [wp_font_face] => 0 ) ) What I notice here is that the CPT "Activities," which you mentioned as functional, appears to be missing. It seems "Activities" has not been created as a standard CPT, as it does not show up in the provided WPML debug information. In contrast, "Centers" is a regular CPT like Posts, Pages, Products, or Events, but "Activities" is not. Could you clarify how "Activities" was created? This might show why "Centers" is not working on Phase. Best regards, |
November 24, 2024 at 7:51 am #16436725 | |
danielJ-8 |
I have a question, why is the post-type called "center" but the slug on pages of that type is "club", shouldn't it be identical? |
November 25, 2024 at 12:31 pm #16439702 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, This is something you might want to check directly with the author of the code responsible for generating the slug. WPML does not control the original slug. Best regards, |