PHP Classes

File: docs/_sources/api/I18Next/TranslatorInterface.rst.txt

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

Contents

Class file image Download
.. rst-class:: phpdoctorst .. role:: php(code) :language: php TranslatorInterface =================== .. php:namespace:: I18Next .. php:interface:: TranslatorInterface :Source: `src/I18Next/TranslatorInterface.php#7 <https://github.com/abbadon1334/atk4-i18next-php/blob/master/src/I18Next/TranslatorInterface.php#L7>`_ Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\($key, $parameters, $context, $locale\)<I18Next\\TranslatorInterface::\_\(\)>` Methods ------- .. rst-class:: public .. php:method:: public _( $key, $parameters=null, $context=null, $locale=null) .. rst-class:: phpdoc-description | Translates the given message\. :Source: `src/I18Next/TranslatorInterface.php#19 <https://github.com/abbadon1334/atk4-i18next-php/blob/master/src/I18Next/TranslatorInterface.php#L19>`_ :Parameters: * **$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