• Hi, I the custom fields is acting strange, I’m sure the fields on the “post_fields” inside my wpm-config.json file is right but it is not translating.
    I mean every time I click on the update button the field’s value is not changing, but if I remove the fields ID from the file then the value will change.
    Here is my wpm-config.json

    
    "post_types": {
        "property": {},
        "shop_order": {},
        "testimonial": {}
      },
    "post_fields": {
          "_price": {},
          "_price_per": {},
          "_offer_type": {},
          "_property_type": {},
          "_rental_period": {}
      },
    "taxonomies": {
        "property_feature": {},
        "region": {}
      }
    • This topic was modified 6 years, 10 months ago by vineryap.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @vineryap
    Are You using ACF for this fields?

    Thread Starter vineryap

    (@vineryap)

    Hi, @valexar How are you?
    There’s no ACF plugin this time on the theme.
    But I figured it out, for the most part, only fields that containing number not responding to the translation. Would you like to check it out?

    Anyway, how can I change the language switcher style for the menu section?
    And is there any way for excluding certain fields even though I used “wpm_each” ?

    • This reply was modified 6 years, 10 months ago by vineryap.
    Thread Starter vineryap

    (@vineryap)

    I figured out the language switcher styling

    And is there any way for excluding certain fields even though I used “wpm_each” ?

    Set needed tag value as ‘null’. Like: "property_feature": null.

    Translating only strings. Number is not string.

    Thread Starter vineryap

    (@vineryap)

    Set needed tag value as ‘null’. Like: “property_feature”: null.

    Translating only strings. Number is not string.

    "realteo_submit_form_fields": {
          "wpm_each": {
            "property_title": null,
            "wpm_each": {}
          }
        }

    I tried it like that but it’s not working

    Thread Starter vineryap

    (@vineryap)

    How can I translate strings on custom page option?
    I want to translate the subtitle field.

    View post on imgur.com

    @vineryap
    You need to known how called the option in a databese. And add the option config to configuration file.

    Thread Starter vineryap

    (@vineryap)

    How can I call out the option in the database?
    Could you give me any hint?

    Find the value of needed option in any database manager as PhpMyAdmin, Adminer, or other. Find out ‘option_key’ in finded row. This is option name for using in config.

    Thread Starter vineryap

    (@vineryap)

    Hi @valexar

    I searched it on PhpMyAdmin but there are no matches.

    Anyway, I found this inside the theme, maybe you can see why it is not translating?

    View post on imgur.com

    Contact me on Slack. I will try to help You.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘post_fields not translating’ is closed to new replies.