Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've done a number of multi-language sites with EE, albeit never with the Bieber module. My preference is to use Republic Variables for creating a variable matrix for labels (then it's just a simple flexible tag on the page). There's a bit of set-up that needs to be done, but once you've done it a couple of times it's only 5 minutes work: </p> <p>A basic overview of steps (I've begun documenting <a href="http://www.shortcuts.nl/index.php/weblog/comments/ee_multi-language_sites_revisited/" rel="nofollow">them on my very old EE site</a>):</p> <p>1) Use the .htaccess method to remove index.php from URLs (making them clean) and in EE, set the system to use the title as the article link</p> <p>2) Create ANSI directories for each language and move copies of index.php and .htaccess where the system path is corrected: </p> <pre><code>$system_path = '..system'; </code></pre> <p>and in the language director, create a .htaccess to relaunch queries with the current language: </p> <pre><code>RewriteEngine on RewriteCond $1 !^(index\.php) [NC] RewriteRule ^(.*)$ /ru/index.php/$1 [L] </code></pre> <p>(<a href="http://www.shortcuts.nl/index.php/weblog/comments/ee_multi-language_sites_revisited_-_part_2/" rel="nofollow">check my site</a> for more detailed directions)</p> <p>3) Install the wonderful <a href="http://republiclabs.com/expressionengine/republic-variables" rel="nofollow">Republic Variables</a> and set for the number of languages you need. (_en for English, _ru for Russian, _es for Spanish, etc..) and make the same one default as the default language in your index.php. Under configuration, I prefer to set for a Language Postfix. Add a variable "teaser" for testing, and fill in all languages.</p> <p>4) On the page, drop in a tag with this format: {variable_{language}}, e.g. </p> <pre><code>{teaser_{language} </code></pre> <p>and you should see the default language variable. Insert the language in the URL before the template/page (e.g., www.sitename.com/ru/directory/template) and the language will switch on the fly. I'll be documenting this in a follow-up post this weekend. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload