Ready to get started?Download WordPress


[resolved] dual languages menu (3 posts)

  1. Moonlight Eagle
    Posted 8 months ago #

    Hi everyone!

    I have a little problem...
    I want to create a homepage with two languages. The visitors will select with one language they prefer.
    My problem is: I want to have the same design on both interfaces but on the same theme/database.
    How can I resolve to have pages with menu language A and pages with menu language B on the same place (ex. at the top)?

  2. nobita
    Theme Author

    Posted 8 months ago #

    Hi Moonlight Eagle

    Raindrops has language Class at body

    <body class="... accept-lang-ja ...">
    <body class="... accept-lang-en ...">

    Based on the language setting of the browser, this class will be added to the body element automatically

    forexample template or entry content

    <div class="ja">japanese</div>
    <div class="en">english</div>


    .accept-lang-ja .ja{display:block;}
    .accept-lang-ja .en{display:none;}
    .accept-lang-en .en{display:block;}
    .accept-lang-en .ja{display:none;}

    Thank you.

  3. nobita
    Theme Author

    Posted 7 months ago #

    It was after about 2 weeks, and then change the resolved because there is no answer, especially


You must log in to post.

About this Theme

About this Topic