Elgg
Version 2.3
engine
classes
Elgg
I18n
TranslatorInterface.php
Go to the documentation of this file.
1
<?php
2
namespace
Elgg\I18n
;
3
15
interface
TranslatorInterface
{
36
function
translate
(
$key
, array
$args
= [],
Locale
$locale =
null
);
37
}
Elgg\I18n\Locale
WARNING: API IN FLUX.
Definition:
Locale.php:13
Elgg\I18n\TranslatorInterface
WARNING: API IN FLUX.
Definition:
TranslatorInterface.php:15
Elgg\I18n\TranslatorInterface\translate
translate($key, array $args=[], Locale $locale=null)
Given a message key, returns a best-effort translated string.
$args
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
Definition:
js_rewrite_check.php:8
Elgg\I18n
Definition:
ArrayMessageBundle.php:2
$key
$key
Definition:
summary.php:34
Generated on Fri Aug 29 2025 00:00:46 for Elgg by
1.9.1