1 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
- core/
modules/ views/ plugins/ views_plugin_localization.inc, line 70 - 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 = '') {
}