Path

ez components / documentation / api reference / 2009.2 / translation


eZ Components 2009.2

Translation: ezcTranslationBorkFilter

[ Tutorial ] [ Linguist format ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcTranslationBorkFilter

Implements the Bork translation filter. [source]

Implemented Interfaces

The bork filter mangles text in cases where the translatable string is defined in the translation definition, but when it it marked as an "unfinished" translation. This makes it obvious which text is translatable, but not yet translated.

Method Summary

public static ezcTranslationFilterBork getInstance( )
Returns an instance of the class ezcTranslationFilterBork
public void runFilter( $context )
Filters a context

Methods

getInstance

ezcTranslationFilterBork getInstance( )
Returns an instance of the class ezcTranslationFilterBork

runFilter

void runFilter( $context )
Filters a context
Applies the "bork" filter on the given context. The bork filter mangles non-finished or non-translated text so that it is obvious which text is translatable, but not yet translated.

Parameters

Name Type Description
$context array(ezcTranslationData)  

Last updated: Mon, 21 Dec 2009