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 trying to add a custom taxonomy. using the following code:

    function cities_custom_taxonomies() {
        'city', // internal name = machine-readable taxonomy name
        'post', // object type = post, page, link, or custom post-type
            'hierarchical' => false, // true for hierarchical like cats, false for flat like tags
            'label' => 'City', // the human-readable taxonomy name
            'query_var' => true, // enable taxonomy-specific querying
            'rewrite' => true // pretty permalinks for your taxonomy?
add_action('init', 'cities_custom_taxonomies', 0);

As long as I use label name in English, all works fine. Once I try to label it in Hebrew, I don't see the new taxonomy menu. any Idea ?

share|improve this question
up vote 1 down vote accepted

You can just wrap the english label name with the translation function __( 'City', 'textdomain' ), and put the hebrew version in your translation file.

Reference: http://codex.wordpress.org/I18n_for_WordPress_Developers

share|improve this answer

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.