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