WordPress.org

Ready to get started?Download WordPress

Forums

Bogo
[resolved] [closed] Category titles cannot be bilingual (5 posts)

  1. raymer
    Member
    Posted 1 year ago #

    First, let me say that I love Bogo. I think your approach to making a bilingual site with WordPress is great. I have used Qtranslate and have been afraid of the custom tag approach and I think using locale is smart.

    I have been able to localize a site with English and Japanese almost completely with Bogo 2.0.1 on WP 3.5 using the Twenty-Eleven theme and a child theme of my own with conditional code like this:

    <?php if (get_locale() == 'ja')
              wp_nav_menu( array( 'theme_location' => 'primary' ) );
         else
              wp_nav_menu( array( 'theme_location' => 'primary_english' ));
         ?>

    This works great for pages but I run into a problem with categories that I am not sure how to deal with. The category name does not change between locales and the category name is what is used on menus, etc. So how do I handle categories using Bogo?

    I tried creating two categories and using one for the English posts and one for the Japanese posts. That works OK but when I use the language switcher widget in Bogo it tries to go to the same category name in the other locale and there are no posts to show then...

    Any ideas?

    http://wordpress.org/extend/plugins/bogo/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Multilingualization for title of category and other taxonomies is not supported in the current version of Bogo. Sorry. That is in my task list for the next version.

  3. Marcel Andrew
    Member
    Posted 1 year ago #

    For reader's information, xili-language plugin works (and progress continuously with more features) since WP 2.3 and now 3.5 to create multilingual website.

    Category titles (and descriptions) and many other elements (widget title,...) are automatically switched according language and translated texts present and added in .mo files.

    For authors, when editing a post, you can go (or create and go) to the linked translated one with 'copying' the categories of the original post... (saving time)

    A developer of theme will also find more tools (hook) or template tags.

  4. raymer
    Member
    Posted 1 year ago #

    Miyoshi-san,
    Thank you for the reply. I understand and I am glad you are continuing development. Do you have any idea how long before category support will be added? Do you need testers? I will be willing to test or help out if you need it.

    Best regards,
    Ray Mercer

  5. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you, Ray. The release will be this spring. If you could help testing, I really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags