• Resolved raymer

    (@raymer)


    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?

    https://www.ads-software.com/extend/plugins/bogo/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    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.

    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.

    Thread Starter raymer

    (@raymer)

    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

    Plugin Author Takayuki Miyoshi

    (@takayukister)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category titles cannot be bilingual’ is closed to new replies.