PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.10.1
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.10.1
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / inc / MultiLang / interface-language-strategy.php

interface-language-strategy.php in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.10.1, at inc/MultiLang/interface-language-strategy.php

39 lines 875 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit; // Exit if accessed directly
5 }
6
7 /**
8 * Merchant - Multi Language
9 */
10 if ( ! interface_exists( 'Merchant_Language_Strategy' ) ) {
11 interface Merchant_Language_Strategy {
12
13 /**
14 * Register a string for translation.
15 *
16 * @param string $string_to_register The string to translate.
17 * @param string $context The context of the string.
18 * @param bool $multiline Whether the string is multiline or not.
19 */
20 public function register_string( $string_to_register, $context, $multiline = false );
21
22 /**
23 * Translate a string.
24 *
25 * @param string $string_to_translate The string to translate.
26 *
27 * @return string
28 */
29 public function translate_string( $string_to_translate );
30
31 /**
32 * Get Current language code
33 *
34 * @return string
35 */
36 public function get_current_lang();
37 }
38 }
39