Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Donden Gaeshi – Name Order Changer for WooCommerce

Skildring

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
} );

Skjermbilete

  • Name fields in My Account page. Surname comes first.
  • Name fields in Builling Address is in the same order.
  • If user locale is not in the list above, the first name precedes the last name.

Installasjon

  1. Upload donden-gaeshi folder to the /wp-content/plugins directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Now your name order will be suite for your locale.

Vanlege spm.

How to Contribute

This plugin is hosted on GitHub, feel free to make issues or to send Pull Requests.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Donden Gaeshi – Name Order Changer for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

0.1.4

  • Fix readme for clarification.

0.1.2

  • Registered on WordPress.org.

0.1.0

  • first Release.