WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Extra Checkout Fields for Brazil
[resolved] Problems with translation (2 posts)

  1. maisasb
    Member
    Posted 1 year ago #

    Hello,

    I don't know if the problem happens only with me, but I installed WooCommerce Extra Checkout Fields for Brazil and when user do the checkout, the label of the State field (combobox) is "PaĆ­s:"
    But this happens only when user buy something, if he edit your address, the label of the State field is right.

    I did something wrong or is the translation?

    Thanks,

    http://wordpress.org/extend/plugins/woocommerce-extra-checkout-fields-for-brazil/

  2. maisasb
    Member
    Posted 1 year ago #

    I found the problem, and it's not with the Extra Checkout Fields, in the file class-wc-countries I found this:

    'state' 	=> array(
    	'type'	=> 'state',
    	'label' => __( 'State / County', 'woocommerce' ),
    	'placeholder' 	=> __( 'State / County', 'woocommerce' ),
    	'required' => true,
    	'class' => array( 'form-row-first', 'address-field' )
    ),

    and I replace for this:

    'state' 	=> array(
    	'type'	=> 'state',
    	'label' => __( 'State', 'woocommerce' ),
    	'placeholder' 	=> __( 'State', 'woocommerce' ),
    	'required' => true,
    	'class' => array( 'form-row-first', 'address-field' )
    ),

    Thanks, and I'm sorry to post in wrong forum.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.