Support » How-To and Troubleshooting » Two languages site

Two languages site

  • Does anyone know if there is a way to make a two languages site in wordpress, with a plugin or in another way?
    I want to make a site that will be both in Hebrew and in English, its important to note that I will have to use two different themes, as in hebrew you need to write from Right-To-Left.. I have an Idea on how to manually do it, but I was wondering maybe if someone here knows a plugin or a way, that can make my life easier…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, use this plugin: http://wpml.org/ I’ve used it to build a six language site and it’s perfect.

    Changing the text direction with WPML.

    In you body tag you can add. The he might not be the correct two letter langauge code but you can get the idea.

    ICL_LANGUAGE_CODE is a constant defined by the WMPL plugin for the current langauge.

    <body <?php if(ICL_LANGUAGE_CODE == 'he') { echo 'class="hebrew"'; } ?> >

    Then in your CSS.

    body.hebrew { direction: rtl; }

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two languages site’ is closed to new replies.