Home Forums ACF PRO acf_form errors


acf_form errors

  • Situation:
    – WordPress 3.9.1 (last version) installed in a subdirectory like
    – Using WPML 3.1.6 (last version)
    – acf_form called from a template page
    – ACF 5.0.3 (last version)

    – return url converted to
    – Labels can’t be translated.

    • Elliot

    • August 7, 2014 at 3:27 pm

    Hi @pau Cap贸

    Thanks for the bug report.
    I’ll take a look at the url issue shortly, however, which labels cna’t be translated? All of them?

  • I’m refering to the form labels, to use with WPML. It’s not a bug by itself 馃槈

    • Elliot

    • August 14, 2014 at 1:34 pm

    Hi @pau Cap贸

    Thanks mate, however all ACF fields can be translated in WPML, so I am a bit lost.
    Are you talking about the ‘the_title’ and ‘the_content’ fields which can’t be translated?

    • thomask

    • August 14, 2014 at 6:29 pm

    @pau: The form labels in backend (if you are talking about these) are added dynamically and translated in context of the WordPress ‘default’ domain.

    A possible solution for you could be to use a translated version of the whole fieldgroup/fields and adjust the labels there.

    There is currently no way to find these labels with an automated tool like WPML theme/plugin scanner.

    More about wrong/bad textdomain in ACF here.

    A solution for WPML automated scanner could be 1.) an own textdomain for these labels, e.g. acf_label and 2.) a dynamic creation of a .php file in a path where WPML theme/plugin scanner would find them which contains all the used labels in default language like e.g. $label = __('Label 1', 'acf_label') = __('Label 2', 'acf_label') = __('Label 3', 'acf_label') ...

  • @thomask, thank’s! If the labels are translated in WP context I can solve it in others ways.

    @elliot: don’t worry, it’s not a bug.

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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.