• Resolved statbat

    (@statbat)


    Hello All,

    I am using WPGlobus (free edition) and ACF. In the admin panel when I am filling the homepage, I can see three langauge tabs. I can translate fields in the three different languages.

    But when I save they all become one language. This is so strange.
    In other words, I enter 3 languages but after save i can only see one same language in my textbox and my textarea.

    The only field that contains 3 different languages is the Page Title (native WP field). The ACF fields are not stored in three langauges.

    If I want to save in three languages then I have to toggle WPGlobus off and then fill manually in this format which is only good for one time:
    {:en}English Test{:}{:de}German Test{:}{:bg}Bulgarian Test{:}

    My code for the frontend is very simple

    $wp_post = get_post();
    echo get_field( 'main_heading', $wp_post->ID );
    echo get_field( 'main_content', $wp_post->ID );
    echo get_field( 'sub_heading', $wp_post->ID );
    echo get_field( 'sub_content', $wp_post->ID );

    Please tell me what am I missing? Why ACF fields are not working with WPGlobus in visual editor?

    Please note that the ACF fields I am using are TEXT and TEXTArea. WPGlobus should work with them. They are not WYSIWYG fields with which you need WPGlobus Plus to work as advertised.

    Thanks

    • This topic was modified 8 years, 2 months ago by statbat.
    • This topic was modified 8 years, 2 months ago by statbat.
    • This topic was modified 8 years, 2 months ago by statbat. Reason: formatting and also added info about ACF fields used
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Alex Gor

    (@alexgff)

    I have just checked WPGlobus 1.7.1 with Advanced Custom Fields 4.4.11 in admin area on my test site.
    They are working well for input type text and textarea (standard post).

    • This reply was modified 8 years, 2 months ago by Alex Gor.
    Thread Starter statbat

    (@statbat)

    I think I am translating them wrong.
    Instead of using the TABs on the top under the page title, i think I should click on the BLUE GLOBE icon and translate each field there.

    I think this is my mistake.

    Plugin Contributor Alex Gor

    (@alexgff)

    Yes. You need to use blue globe icon for ACF fields.

    Thread Starter statbat

    (@statbat)

    YES It was my mistake. I thought the TABs on the top are to be used.
    Works fine, resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Only one language is saved for the ACF fields’ is closed to new replies.