It is sadly not possible to translate programmatically created ACF Field Groups and their Fields with WPML Advanced Custom Fields Multilingual.
The field groups need to exist on the backend, to be translatable as you need to set a translation preference for each group and also for each field if you use the "Expert" mode.
Hello Andreas,
I did not translate them with ACF-ML addon. I translated them exactly as WPML documented it: by adding the 'set to wpml_cf_perferences => 2' lines to each field in the PHP file.
That did not work, so I tested whether installing ACF-ML addon would help.
I need help fixing the fact that adding the wpml_cf_preferences to each field does not change the translation settings in WPML.
Also,
how would I use expert mode if I have a theme with a file with the acf fields already in there, and ACF not installed at all? I can re-install ACF, but I cannot re-import the ACF fields from the PHP file into ACF. This is not possible as far as I have been able to find.
But that should be beside the point, as WPML clearly states it is possible to set the translation settings in the PHP file itself. I need to get that working...