Elgg  Version 1.11
TranslatorInterface.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg\I18n;
3 
36  function translate($key, array $args = [], Locale $locale = null);
37 }
$args
Some servers don&#39;t allow PHP to check the rewrite, so try via AJAX.
WARNING: API IN FLUX.
Definition: Locale.php:13
$key
Definition: summary.php:34
translate($key, array $args=[], Locale $locale=null)
Given a message key, returns a best-effort translated string.