We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19090
    • 35 Posts
    Hi
    Sorry but I don’t speak Russian, but I thought it will be the best forum to post my question...
    I’m developing a Site in French and Russian, I’m also using the multilingual extension to changes languages and therefore friendly urls but now I’m facing a problem with the Aliases on the Russian pages.
    Whenever I add a Russian String in the "Alias" field it gets striped out. Modx is simply removing it.
    Is there a way to use Aliases on Russian?
    Best Reagards
    Vladimir
      • 26704
      • 115 Posts
      Hello Vladimir,
      yes i know about this problem, but i think that it will not have simple solution. Most part of Russian developers set aliases on eng lang or use translite.

      p.s. sorry for my bad eng.
        • 3256
        • 26 Posts
        Could you tell me about the "multilanguage extention" more?
        • Quote from: memeko at May 24, 2009, 06:10 PM

          Whenever I add a Russian String in the "Alias" field it gets striped out. Modx is simply removing it.
          Is there a way to use Aliases on Russian?
          Best Reagards
          Vladimir
          Hi Vladimir,

          You can just simply replace the file manager/processors/save_content.processor.php with the attached file (remove the .txt extension in the file name).
          I have modified the array of the accepted characters in the stripAlias function to use the Russian symbols, too.
          Now they are also accepted and converted on the fly to theirs English analogues.

          P.S.: Unfortunately I couldn’t find the possibility to attach the file on this forum >:(
          So I have uploaded it on my server http://suhinin.com/files/save_content.processor.php.txt (but I can’t guarantee that it will stay long time there).

          P.S2: Кстати, все русскоязычные пользователи также могут легко использовать это решение. Быстро и просто smiley
            Разработка сайтов и программных модулей на MODX.
            Опыт работы на MODx с 2005 года. Высокое качество.
            Компания Baltic Design Colors: http://www.bdcolors.ru.
            • 26704
            • 115 Posts
            Fuzzy, thank you for this hack. smiley
            • Serenity, you are always welcome wink
                Разработка сайтов и программных модулей на MODX.
                Опыт работы на MODx с 2005 года. Высокое качество.
                Компания Baltic Design Colors: http://www.bdcolors.ru.
                • 8643
                • 271 Posts
                извиняюсь, что по русски grin
                захотел тоже сделать русский алиас, например как у википедии
                http://ru.wikibooks.org/wiki/MODx:Что_такое_MODx?

                Делаю документ с таким же алиасом: MODx:%D0%A7%D1%82%D0%BE_%D1%82%D0%B0%D0%BA%D0%BE%D0%B5_MODx%3F , и получаю вместо документа 404 ошибку. Почему?
                  • 19090
                  • 35 Posts
                  Hi!
                  Thank you very much to all of you for the answers! Specially to Fuzzy for the modified processor!

                  I will try to answer all of you:

                  @bfocus: have a look on the link below, that’s what I mean by multilanguage extension, perhaps it’s not really an "extension"
                  Quote from: bfocus at May 25, 2009, 06:48 AM

                  Could you tell me about the "multilanguage extention" more?

                  http://modxcms.com/forums/index.php?topic=29597.0

                  @Fuzzy: Thanks for your proccesor file, it’s working really fine.
                  But just like Elastic I’m wondering why it’s not possible to have cyrillic characters in the url on MODx...

                  Best Regards to all of you

                  Vladimir
                    • 24935
                    • 160 Posts
                    I have modified Revolution to allow UTF-8 aliases, and it worked fine. I expect that it could work on Evolution also. Almost anything is ok in a url, except for a handful of reserved characters and a few that might cause a problem. These are:
                    & = + % # < > ~ ` " ’ @ ? [ ] { } | ^ (See http://www.faqs.org/rfcs/rfc1738.html)

                    Of course, having the actual Russian title in the alias helps with SEO...so it is worth doing.
                      • 19090
                      • 35 Posts
                      I forgot soemthing:

                      @Serenity:
                      Quote from: Serenity at May 25, 2009, 10:22 AM

                      Most part of Russian developers set aliases on eng lang or use translite.

                      How can you use translite and MODx?