Home Plugins donden gaeshi
Donden Gaeshi – Name Order Changer for WooCommerce logo

Donden Gaeshi – Name Order Changer for WooCommerce

by Takahashi Fumiki on WordPress.org

Change the order of first_name and last_name in WooCommerce depends on user locale.

(0)
Name fields in My Account page. Surname comes first.

Name fields in My Account page. Surname comes first.

In some locales, last_name preceded first_name.

  • Japanese ja
  • Chinese zh_*
  • Korean ko
  • Mongolian mn
  • Vietnamese vi
  • Hungarian hu_HU

If current user locale is in the list above, name fields in WooCommerce will be swapped with this plugin.
This plugin does nothing but changing name field’s order. You don’t have to care about side effects.

Currently fixes…

  • My Account
  • Billing Address & Shipping Address
  • Order Email
  • Default display name and full name

Customization

You can change locales with filter.

add_filter( 'donden_swappable_lang_list', function( $langs ) {
    // Add lang th.
    $langs[] = 'th';
    return $langs
} );
Active installations0+
Weekly downloads
17+112.50%
Version0.1.4
Last updated6/28/2019
WordPress version5.0
Tested up to5.2.21
PHP version7.0
Tags
display_namei18nl10nlocalizationwoocommerce