Home › Forums › ACF PRO › How to translate own option fields at backend? › Reply To: How to translate own option fields at backend?
Ok, I find a solution. I can export manually the field group to php and load these in the function.php.
Than I set the textdomain:
function custom_acf_settings_textdomain($domain) {
return 'textdomain';
}
add_filter('acf/settings/l10n_textdomain', 'custom_acf_settings_textdomain');
And all labels be found by Poedit template import. Thats fine 🙂
Is there a way to generate the php field group export automatically, by edit and saving the fields in ACF admin?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.