• Resolved Jaime

    (@wilfredo1234)


    Hello, I hope you can help me, I am having problems with the ACF plugin and WPML plugins, if you can help me please. I cannot translate the text field that I have added in my functions.php file, in Spanish it works wonderfully but in English it still shows the original text and there is no way to translate. I explain more detail with this image and this is my code, please if you could help me solve this problem, thank you very much.

    /* acf */
    add_action( 'woocommerce_single_product_summary', 'wil_acf_custom_product_field', 10 );
    function wil_acf_custom_product_field() { ?>
    
    <table class="vertical-menu">
    	<tbody>
    		
    		<tr>
    			<td class="cabecera"><?php if( get_field('descarga') ): ?><strong><i class="icon-checkmark"></i>Descarga:</strong></td>
    			<td class="detail"><strong><?php the_field('descarga'); ?><?php endif; ?></strong></td>
    		</tr>
    		
    		<tr>
    ? ? ? ? ? ? <td class="cabecera"><?php if( get_field('formatos') ): ?><strong><i class="icon-checkmark"></i>Formatos:</strong></td>
    			<td class="detail"><strong><?php the_field('formatos'); ?><?php endif; ?></strong></td>
    		</tr>
    		
    			<tr>
    ? ? ? ? ? ? <td class="cabecera"><?php if( get_field('tamanos') ): ?><strong><i class="icon-checkmark"></i>Contiene:</strong></td>
    			<td class="detail"><strong><?php the_field('tamanos'); ?><?php endif; ?></strong></td>
    		</tr>
    		
    	</tbody>
    </table>
    <?php }
    

    EXAMPLE IMAGEN

Viewing 1 replies (of 1 total)
  • Plugin Support ACF Support

    (@acfsupport)

    Hi there!

    ACF Support Team here. This forum is generally used by ACF users to help each other out.

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ?support form and we can look into it further.

Viewing 1 replies (of 1 total)
  • The topic ‘ACF plugins text field translate with WPML plugins’ is closed to new replies.