Overview
  • Namespace
  • Class

Namespaces

  • None
  • WC_POS
    • Admin
      • Settings
        • Receipt
    • API
    • Gateways
    • Integrations
    • Products

Classes

  • Activator
  • Admin
  • Ajax
  • API
  • Customers
  • Deactivator
  • Gateways
  • i18n
  • Products
  • Setup
  • Status
  • Tax
  • Template

Class i18n

Namespace: WC_POS
Located at i18n.php

Methods summary

public
# __construct( )

Constructor

Constructor

public
# load_plugin_textdomain( )

Load the plugin text domain for translation.

Load the plugin text domain for translation.

public mixed
# update_check( $transient, boolean $force = false )

Check GitHub repo for updated language packs

Check GitHub repo for updated language packs

Parameters

$transient
$force

Returns

mixed
public mixed
# upgrader_pre_download( $reply, $package, $upgrader )

Update the database with new language pack date TODO: is there no later hook for translation install?

Update the database with new language pack date TODO: is there no later hook for translation install?

Parameters

$reply
$package
$upgrader

Returns

mixed
public
# update_translations( )

Force update translations from AJAX

Force update translations from AJAX

public
# manual_update( )

Force update translations

Force update translations

public string
# js_locale( array $scripts )

Load translations for js plugins

Load translations for js plugins

Parameters

$scripts

Returns

string
public static array
# currency_denominations( string $code = '' )

Return currency denomination for a given country code

Return currency denomination for a given country code

Parameters

$code

Returns

array
API documentation generated by ApiGen