WordPress.org

Plugin Directory

Donden Gaeshi – Name Order Changer for WooCommerce

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Donden Gaeshi – Name Order Changer for WooCommerce

描述

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

屏幕截图

  • 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.

安装

  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.

常见问题

How to Contribute

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

评价

此插件暂无评价。

贡献者及开发者

“Donden Gaeshi – Name Order Changer for WooCommerce” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1.4

  • Fix readme for clarification.

0.1.2

  • Registered on WordPress.org.

0.1.0

  • first Release.