Question

“How to create a multilingual site?”

This question applies to EPROM - WordPress Music Theme

Answer

Installation

1. From Dashboard go to Plugins>Add New
2. Search for qTranslate then download and install it (BUT DO NOT ACTIVATE YET)
3. Original qTranslate do not support custom text editors in WordPress, to fix this issue download our custom patch for qTranslate from http://d.pr/f/gBIc
4. Extract and replace original file in your WordPress intallation folder  /.../plugins/qtranslate/qtranslate_javascript.php
5. Now you can activate plugin

Usage

Notice that you can select display type of countries (flags or names) inside Theme Settings>General Settings>Header, look for "Language Display Type".

To learn how to configure qTranslate you should visit official FAQ at http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3

1. Translating content in text boxes

In default WordPress text editor box you should use tabs added by original qTranslate for translating content
In other (custom) boxes you will have to use tags for marking text for various language versions.

There are two types of tags.
a.) Quicktags - used for simple text THAT IS NOT INSIDE ANY SHORTCODE or for translating menus (we will explain it later)

For example we want to have english and polish version of this simple quote "Meet our artists." on one page.
To do that we will have to add [:en] before english version of text and after it use [:pl] for polish one. Ofcourse you can use any language code that is supported by qTranslate.

[:en]Meet our artists.[:pl]Poznaj naszych artystów.


Example of translating text with shortcode:
 

[:en]

[hgroup]Example text[/hgroup]

[:pl]

[hgroup]Przykładowy tekst[/hgroup]


Notice that every shortcode that is opened in first language group is closed before next language is marked - if you won't follow this rule your page will display improperly.

b.) normal Tags - this can be used for translating content inside shortcodes.
 

[hgroup]
<!--:en--> Example text <!--:-->
<!--:pl--> Przykładowy text <!--:-->
[/hgroup]


2. Translating menus
Menus can be translated by using Quicktags in same way as translating text.

To translate menu item go to Appearance>Menus and click arrow down button (it is located next to "Page"), then in "Navigation Label" you can use Quicktags to mark multi-language versions of menu item.
Example:
 

[:en]Pages[:pl]Strony

 

Updating...