We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31246 ☆ A M B ☆
    • 428 Posts
    сегодня только настраивал человеку, тоже проблемы были, оказывается он изменил файл .htaccess, создал правила для языков......
    .htaccess - должен быть дефолный
    в корне должны быть папки en и fr
    В папках должны быть файлы .htaccess - дефолный, index.php (нужно изменить в конце на свой контекст), .gitignore - дефолный, config.core.php
    Всё должно работать....
      Valentin Rasulov - Industrial design (Hobbies - Web Development)
      Development not standard projects on CMF MODx Revolution.
      Small sample of extensions
      • 8677
      • 50 Posts
      в корне должны быть папки en и fr
      В папках должны быть файлы .htaccess - дефолный, index.php (нужно изменить в конце на свой контекст), .gitignore - дефолный, config.core.php

      Ого!
      Про это в инструкции по установке не было сказано.

      Сделала. Теперь работает.
      Спасибо ОГРОМНОЕ !
      [ed. note: elena-gileva last edited this post 15 years, 1 month ago.]
        • 8677
        • 50 Posts
        Кстати, в документации http://rtfm.modx.com/display/ADDON/Babel не открывается ссылка "tutorial to setup your multilingual site(s)" из абзаца "Create a context for each language and set the cultureKey and site_url settings according to your needs. You may have a look at our tutorial to setup your multilingual site(s)."

        Может быть, там тоже что-то важное осталось за кадром. smiley
          • 50824
          • 1 Posts
          Quote from: elena-gileva at Aug 30, 2011, 11:17 AM
          И не пойму, где вот это нужно использовать:


          BabelLink Chunk
          If the &tpl parameter is not set the default chunk will be used with the follwoing code:
          <li><a href="[[+url]]" class="[[+cultureKey]][[+active:notempty=` [[+active]]`]]">[[%babel.language_[[+cultureKey]]? &topic=`default` &namespace=`babel`]]</a></li>

          (со страницы http://rtfm.modx.com/display/ADDON/Babel.BabelLinks )

          А как сделать, чтоб на английской версии сайта заголовок ссылки на русскую версию был на русском и наоборот?