• Resolved al3sim

    (@al3sim)


    Hi there!
    I bought a theme “Werkstatt” from Fuelthemes. This theme introduces a new post type called “Portfolio”. This portfolio type has some standard fields, such as “Client name”, “Project year” and so on, and gives the users the ability to create some custom fields. While standard fields are correctly translated by Polylang, custom ones do not.
    Anyone can tell me why or noticed a similar issue?
    Thank you for your time.

    Alessandro

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter al3sim

    (@al3sim)

    Hi there!
    I still have this problem and I cannot get rid of it:
    Custom fields created inside Portfolio entry cannot be translated. They actually are metaboxes and, due to this, their content it’s not translated.
    Is there any chance to resolve this?

    Thread Starter al3sim

    (@al3sim)

    I’ve come to a solution.
    I’ve added some xml to the wpml-config.xml file inside theme root folder:

        <custom-fields>
            <custom-field action="translate">client_name</custom-field>
            <custom-field action="translate">client_services</custom-field>
            <custom-field action="translate">client_more</custom-field>
            <custom-field action="translate">client_custom_values</custom-field>
        </custom-fields>

    Now custom metaboxes store different values for each language.
    I’ve come to this solution after reading this post:

    https://ww.wp.xz.cn/support/topic/metabox-and-polyang/

    Great!

    Thread Starter al3sim

    (@al3sim)

    Problem is solved

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Portfolio custom fields’ is closed to new replies.