Hello,
in order to respect i18n, it should be great to have a new field ‘text-domain’ optional in all existing fields to add a text-domain and allow an easy translations of field name.
When we’ll export from tools to PHP file, it will provide something like:
acf_add_local_field_group(array (
'key' => 'group_593ad0fa39369',
'title' => __('Group Name', 'my-text-domain'),
'fields' => array (
array (
'key' => 'field_593ad12394a3b',
'label' => __('Initial Date', 'my-text-domain'),
'name' => __('initial_date', 'my-text-domain'),
'type' => 'date_picker',
'instructions' => '',
'required' => 1,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'display_format' => 'd/m/Y',
'return_format' => 'd/m/Y',
'first_day' => 1,
),
'location' => array (
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'ordo',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
endif;