wp-multilang icon indicating copy to clipboard operation
wp-multilang copied to clipboard

ACF Repeater not being translated

Open Pixelatex opened this issue 6 years ago • 6 comments

My ACF Repeater fields:

'features'
-> 'feature_title'
-> 'feature_content'

My wpm-config.json file:

{
  "post_fields": {
    "features": {
      "wpm_each": {
        "feature_title": {},
        "feature_content": {}
      }
    }
  }
}

I also tried adding them like this:

{
  "post_fields": {
    "feature_title": {},
    "feature_content": {},
    "features": {}
  }
}

But they refuse to translate. They keep overwritting the previous values. I've seen this issue popup on the wordpress plugin forum a few times without a fix.

Can you help me figure out what's going wrong?

Pixelatex avatar Aug 27 '18 08:08 Pixelatex

Hi. "wpm_each" using for translating multitlingual arrays in database. You have to know how fields saved in database.

VaLeXaR avatar Aug 28 '18 11:08 VaLeXaR

If it is text field type, then it translating by default.

VaLeXaR avatar Aug 28 '18 18:08 VaLeXaR

If it is text field type, then it translating by default.

Is it possible to use a repeater?

RuslanAsadov avatar Jul 11 '20 21:07 RuslanAsadov

@VaLeXaR thats not true , when it is text fields inside repeater it will not be translated

ahmedabbous avatar Jul 12 '20 12:07 ahmedabbous

@VaLeXaR Better if you update your repo where it says compatible with ACF Pro, because its NOT

ahmedabbous avatar Jul 12 '20 12:07 ahmedabbous

@VaLeXaR if there was support for the options page and repeater there would be a better plugin 100%!

RuslanAsadov avatar Jul 12 '20 12:07 RuslanAsadov