Translate Filter

Categories

Component ID

1825768

Component name

Translate Filter

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Version: D6

Git: git clone --recursive --branch 6.x-1.x http://git.drupal.org/sandbox/tomotomo/1825768.git translate_filter

This is an input filter which can be configured, say for the default Filtered HTML input, to do automatic translation of strings when the default language is different from English but strings are being translated from English.

Instead of sprinkling through your content calls like print t('...');

Instead you can just do "[t]...[/t]" and you don't need to use the PHP filter.

Description:
Allows content editors to have strings translated to the editor's language instead of embedding t() calls by wrapping them with "[t]" and "[/t]".

Similar to gist_filter and mathfilter but the purpose is to translate strings.