polylang dismiss wp travel archive:trips

Homepage Forums WP Travel polylang dismiss wp travel archive:trips

Tagged: 

This topic contains 4 replies, has 3 voices, and was last updated by  Support Team 1 year ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6627

    belay
    Participant

    when i install and activate polylang plugin for language transaltion it dismiss archive:trips from tours.
    is this because of load_plugin_textdomain is set false?

    function load_textdomain() {
    $locale = is_admin() && function_exists( ‘get_user_locale’ ) ? get_user_locale() : get_locale();
    $locale = apply_filters( ‘plugin_locale’, $locale, ‘wp-travel’ );
    unload_textdomain( ‘wp-travel’ );

    load_textdomain( ‘wp-travel’, WP_LANG_DIR . ‘/wp-travel/wp-travel-‘ . $locale . ‘.mo’ );
    load_plugin_textdomain( ‘wp-travel’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/i18n/languages’ );
    }

    how do i make languahe translation in polylang? can i make the load_plugin_textdomain set to true and work?
    how do i access the archive:trips page with shortcode?

    #6640

    WP Travel Admin
    Keymaster

    Hello @belay,

    When we tested the polylang with the WP Travel plugin, we found the issue. Again, when we tested the polylang plugin deactivating the wp travel plugin in default twenty seventeen theme for confirmation, the issue persists.

    So it is actually the issue of polylang so please contact with the respective forum of polylang for the issue.

    Thank you.

    Further, if you have any query related to the wp travel plugin then let us know.

    Best Regards!!

    #6645

    belay
    Participant

    this what it wrote the polylang plugin author
    ” By default, only *public* post types are shown in the options. I guess that when a plugin author decides that a post type is not public, then he must have good reasons and that’s enough for me to decide not to reveal such post type in Polylang options. The same for taxonomies.

    You can always control which post types and taxonomies are translatable by using a wpml-config.xml file or the filter pll_get_post_types (including dor non-public post types and taxonomies). ”

    #6647

    belay
    Participant

    i dont thinks is a theme problem it is working in twenty fifteen theme well. the plugin author said it is on wp travel that make custom post not public.

    #6649

    Support Team
    Keymaster

    Hello,

    We would like to apologize for the inconveniences.

    We will look for the issue and reply back once we figure out what exactly is the issue.

    In the meanwhile, you can use WPML plugin for the translation.

    https://wpml.org/

    Hoping for the co-operations.

    Thank you.

    Best Regards!!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.