1.20.x views_plugin_localization.inc public views_plugin_localization::translate_string($string, $keys = array(), $format = '')

Translate a string.

Parameters

string $string: The string to be translated.

array $keys: An array of keys to identify the string. Generally constructed from view name, display_id, and a property, e.g. 'header'.

string $format: The input format of the string. This is optional.

File

modules/views/plugins/views_plugin_localization.inc, line 71
Definition of views_plugin_localization.

Class

views_plugin_localization
The base plugin to handle localization of Views strings.

Code

public function translate_string($string, $keys = array(), $format = '') {
}