• Resolved ruipedrosampaio

    (@ruipedrosampaio)


    Hi,
    I’ve read in other post about the free language translation plugins.

    So I’m using Multilanguage by BestWebSoft and Loco Translation.

    In articles and pages content it shows me a tab for the other languages, but it doesn’t show on Rooms, Attractions, Slides, Galleries, Booking, etc.

    I asked the template support for some help, and they replied me with this: “It would appear that either the plugin does not support custom post types or support for custom post types is not enabled.
    You can contact the plugin’s developer here https://www.ads-software.com/support/plugin/multilanguage for information on how to make the plugin work with custom post types.

    So I would like to ask what can I do in order to translate the whole website.

    Thank you in advance

    https://www.ads-software.com/plugins/multilanguage/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your request and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us.

    Unfortunately, our plugin does not support translating custom post types. Our plugin can create translations for standard fields only: title, content, category and tags of a standard post/page.

    Please let us know if you have any additional questions.

    Sincerely,
    BestWebSoft Support Team

    Hi ruipedrosampaio
    you can make room for transaltion for custome post-type by simpley edit plugin ( file “multilanguage.php” )

    Make changes (only if you are developer and know how to write code otherwise you will get big problem)
    At Line NO: 296
    Replace this =>
    post_type IN ('page', 'post' ) AND
    => With =>
    post_type IN ('page', 'post', 'your-custome-post-type-slug') AND

    AT Line NO: 1181 , 1228, 1774, 1840
    Replace this =>
    if ( $mltlngg_post_type == 'post' || $mltlngg_post_type == 'page' ) {
    => With =>
    if ( $mltlngg_post_type == 'post' || $mltlngg_post_type == 'page' || $mltlngg_post_type == 'your-custome-post-type-slug' ) {

    At Line No : 1815
    Replace This =>
    } elseif ( $item->type == 'post_type' && ( $item->object == 'post' || $item->object == 'page' ) ) {
    => With =>
    } elseif ( $item->type == 'post_type' && ( $item->object == 'post' || $item->object == 'page' || $item->object == 'your-custome-post-type-slug' ) ) {

    Plugin version 1.1.2

    and at line No: 1970
    Replace This =>
    if ( $mltlngg_post_type == ‘post’ || $mltlngg_post_type == ‘page’ ) {
    => With =>
    if ( $mltlngg_post_type == ‘post’ || $mltlngg_post_type == ‘page’ || $mltlngg_post_type == ‘your-custome-post-type-slug’ ) {

    Plugin version 1.1.2

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi all,

    Unfortunately, we can not guarantee the correct Multilanguage work after you’ll add this code to the plugin. Recently, we released Multilanguage Pro plugin (https://bestwebsoft.com/products/multilanguage/), where you’re able to work with custom post type.

    Sincerely,
    BestWebSoft Support Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translation of all website – Tabs doesn't appear’ is closed to new replies.