WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the German version of WordPress and in wp_editor the two tabs for "visual" and "html" are named "visuell" and "text".

I would like to change the "text" tab to "html". Do you know how I can achieve that?

Here is a screenshot to show you exactly which tab I am talking about.


share|improve this question
up vote 1 down vote accepted

Filter gettext_with_context and change the name here:

<?php # -*- coding: utf-8 -*-
/* Plugin Name: Rename 'Text' editor to 'HTML' */
add_filter( 'gettext_with_context', 'change_editor_name_to_html', 10, 4 );

function change_editor_name_to_html( $translated, $text, $context, $domain )
    if ( 'default' !== $domain )
        return $translated;

    if ( 'Text' !== $text )
        return $translated;

    if ( 'Name for the Text editor tab (formerly HTML)' !== $context )
        return $translated;

    return 'HTML';


enter image description here

share|improve this answer
Thank you very much!! – Sebsemillia Apr 23 '13 at 13:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.