# vikbooking/1.8.6/libraries/adapter/language/handler.php

VikBooking Hotel Booking Engine &amp; PMS, version 1.8.6. 31 lines.

- Page: https://pluginprobe.com/plugins/vikbooking/1.8.6/code/libraries/adapter/language/handler.php
- Raw: https://pluginprobe.com/plugins/vikbooking/1.8.6/raw/libraries/adapter/language/handler.php
- Modified: 2026-01-22T01:06:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/vikbooking/1.8.6/code/libraries/adapter/language/handler.php#L10-L20`.

```php
<?php
/** 
 * @package     VikWP - Libraries
 * @subpackage  adapter.language
 * @author      E4J s.r.l.
 * @copyright   Copyright (C) 2023 E4J s.r.l. All Rights Reserved.
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link        https://vikwp.com
 */

// No direct access
defined('ABSPATH') or die('No script kiddies please!');

/**
 * This interface provides the methods that a language handler should use
 * to translate the plugin texts like an INI parser.
 *
 * @since 10.0
 */
interface JLanguageHandler
{
	/**
	 * Checks if exists a translation for the given string.
	 *
	 * @param 	string 	$string  The string to translate.
	 *
	 * @return 	string 	The translated string, otherwise null.
	 */
	public function translate($string);
}

```
