PHP Classes

File: docs/source/api/I18Next/TranslatorInterface.rst

Recommend this page to a friend!
  Classes of Francesco Danti  >  ATK4 i18next PHP  >  docs/source/api/I18Next/TranslatorInterface.rst  >  Download  
File: docs/source/api/I18Next/TranslatorInterface.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 3 years ago
Size: 1,148 bytes


Class file image Download
.. rst-class:: phpdoctorst

.. role:: php(code)
	:language: php


.. php:namespace:: I18Next

.. php:interface:: TranslatorInterface

		`src/I18Next/TranslatorInterface.php#7 <>`_



* :php:meth:`public \_\($key, $parameters, $context, $locale\)<I18Next\\TranslatorInterface::\_\(\)>`


.. rst-class:: public

	.. php:method:: public _( $key, $parameters=null, $context=null, $locale=null)
		.. rst-class:: phpdoc-description
			| Translates the given message\.
			`src/I18Next/TranslatorInterface.php#19 <>`_
			* **$key** (string)  
			* **$parameters** (array | null)  Array of parameters used to translate message
			* **$context** (string | null)  The context of the request
			* **$locale** (string | null)  The locale or null to use the default

		:Returns: string The translated string

For more information send a message to info at phpclasses dot org.