Support

Account

Home Forums ACF PRO Best way to translate field labels Reply To: Best way to translate field labels

  • Hi, sorry to bump this slightly old thread but I thought it better than creating a new one.

    I am currently trying to solve the same problem that @lmartins had. I have taken your advice, and exported the fields to PHP then modified so that the label values are wrapped in the translate function __(). I then created a .mo file and included this into my theme. The translation is working if I call the label directly from my theme, but not in ACF either in admin or frontend using acf_form().

    I’ve tried a few things such as bundling ACF into the theme, changing the order of includes, etc but no success. What is confusing is that some of the labels are being translated by, I guess, the core. So perhaps this is related to this issue: http://support.advancedcustomfields.com/forums/topic/acf-automatically-translate-some-field-name/

    Any help/hints would be greatly appreciated. Thanks.