# app: show info and type

___x_cmd_locale_app(){
    if ___x_cmd_is_stdout2tty; then
        ___x_cmd_locale_app_tty
    else
        ___x_cmd_locale_app_pipe
    fi
}

___x_cmd_locale_app_pipe(){
    command locale -ck LC_ALL | ___x_cmd_locale_app_visualize
}

___x_cmd_locale_app_visualize(){
    ___x_cmd_cmds_awk -f "$___X_CMD_ROOT_MOD/locale/lib/awk/kv.awk"
}

___x_cmd_locale_app_tty(){
    command locale -ck LC_ALL | ___x_cmd_locale_app_visualize
}
