Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ezi18n

Provides functionality for reading ".ts" files and for translating text in templates.

Balazs Halasy (23/02/2005 9:28 am)

Svitlana Shatokhina (07/08/2006 8:21 am)

Balazs Halasy, Svitlana Shatokhina


Comments

  • Is internationalisation not important?

    3.6 documentation said for ezi18n function: "The eZ Publish libraries will be documented as soon as they have been reorganized and refurbished (within the end of 2005)."
    2009 and one of the most important features of eZ is not documented yet...
  • from kernel/common/i18n.php

    function ezi18n( $context, $source, $comment = null, $arguments = null )
    • RE: from kernel/common/i18n.php

      ezi18n() was deprecated in 4.3, and is not automatically included in versions after 4.4.

      If your code is supposed to work on all 4.x versions, make sure you include it where used using
      include_once( 'kernel/common/i18n.php' );

      Or use the 4.3+ syntax instead if extension is only meant for 4.3+ and future versions:
      ezpI18n::tr( $context, $source, $comment = null, $arguments = null );