function views_plugin_localization::translate_string
Same name in other branches
- 7.x-3.x plugins/views_plugin_localization.inc \views_plugin_localization::translate_string()
Translate a string.
Parameters
$string: The string to be translated.
$keys: An array of keys to identify the string. Generally constructed from view name, display_id, and a property, e.g., 'header'.
$format: The input format of the string. This is optional.
1 call to views_plugin_localization::translate_string()
- views_plugin_localization::translate in plugins/
views_plugin_localization.inc - Translate a string / text with format
1 method overrides views_plugin_localization::translate_string()
- views_plugin_localization_core::translate_string in plugins/
views_plugin_localization_core.inc - Translate a string.
File
-
plugins/
views_plugin_localization.inc, line 62
Class
- views_plugin_localization
- The base plugin to handle localization of Views strings.
Code
function translate_string($string, $keys = array(), $format = '') {
}