[wordpress插件] Donden Gaeshi – Name Order Changer for WooCommerceDonden Gaeshi – WooCommerce的订单更改者

wordpress 插件 文章 2020-04-21 07:21 650 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

In some locales, last_name preceded first_name.

在某些语言环境中,last_name在first_name之前。

    • Japanese ja
    • 日语 ja

    • Chinese zh_*
    • 中文 zh _ *

    • Korean ko
    • 韩文 ko

    • Mongolian mn
    • 蒙古语 mn

    • Vietnamese vi
    • 越南语 vi

    • Hungarian hu_HU
    • 匈牙利语 hu_HU

    If current user locale is in the list above, name fields in WooCommerce will be swapped with this plugin.

    如果当前用户的语言环境在上面的列表中,则WooCommerce中的名称字段将与此插件交换。

    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_filter('donden_swappable_lang_list',function($ langs){    

      // Add lang th.    

      //添加lang th。    

      $langs[] = 'th';    

      $ langs [] ='th';    

      return $langs

      返回$ langs

      } );

      });

安装步骤

    1. Upload donden-gaeshi folder to the /wp-content/plugins directory.
    2. donden-gaeshi 文件夹上载到 / wp-content / plugins 目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Now your name order will be suite for your locale.
    6. 现在,您的姓名顺序将适合您的语言环境。

下载地址
https://downloads.wordpress.org/plugin/donden-gaeshi.0.1.4.zip
-EOF-

AI助手支持GPT4.0