Support » Plugin: Multisite Language Switcher » Translate "category" slug

  • Hi Dennis,

    This is not an issue with the plugin, more a question:

    Is there any way to translate the default wp blog category slug?

    I currently have:

    site.com/category/travel and fr.site.com/category/voyage

    I am trying to translate the word category to categorie.

    I have had no issue doing this with custom post types (with rewrite rules) and translating the strings with POEDIT like this example:

    'rewrite' => array(
                'slug' => _x('customposttype/category', 'URL slug', 'textdomain'),
                'with_front' => true,
                'query_var' => true
            ),

    Just not sure if there is a way to do it with regular posts?

    Thanks

    https://wordpress.org/plugins/multisite-language-switcher/

Viewing 1 replies (of 1 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    Hi Lucas, I’m not sure but do you mean the something like the “Category base” in /wp-admin/options-permalink.php ?

Viewing 1 replies (of 1 total)
  • The topic ‘Translate "category" slug’ is closed to new replies.