We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31906
    • 26 Posts
    Quote from: ReSpawN at Aug 10, 2010, 07:19 AM

    Nevermind, as easy as 1-2-3. Seriously. I’ve fixed the resource class from MODx and implemented the translit class. As he said, in the core/components dir.

    I’m not sure if I understand you right but you don’t need to change any resource class.
      • 24865
      • 289 Posts
      Quote from: waky at Aug 10, 2010, 07:33 AM

      Quote from: ReSpawN at Aug 10, 2010, 07:19 AM

      Nevermind, as easy as 1-2-3. Seriously. I’ve fixed the resource class from MODx and implemented the translit class. As he said, in the core/components dir.

      I’m not sure if I understand you right but you don’t need to change any resource class.

      I know, if you skip a few post from the top that is exactly what I did, now I had to correct it. smiley
      Works like a charm mate, good support and contrib.
        @MarkGHErnst

        Developer at Adwise Internetmarketing, the Netherlands.
        • 1061
        • 81 Posts
        Thanks waky that solved this issues.

        But, can you implement this solution into distributive package?


        P.S. Some error in this russian.php ->

        ’Ы’=>’y’ insted ’Ы’=>’yi’
        ’ы’=>’y’ insted ’ы’=>’yi’
        ’Щ’=>’shch’ insted ’Щ’=>’shh’
        ’щ’=>’shch’ insted ’щ’=>’shh’
        ’Ё’=>’ye’ insted ’Ё’=>’yo’
        ’ё’=>’e’ insted ’ё’=>’yo’
        ’Ц’=>’ts’ insted ’Ц’=>’cz’
        ’ц’=>’ts’ insted ’ц’=>’cz’
        ’Х’=>’h’ insted ’X’=>’x’
        ’х’=>’h’ insted ’х’=>’x’
          • 31906
          • 26 Posts
          Quote from: alex_dutch at Aug 24, 2010, 05:51 PM

          Thanks OpenGeek that solved this issues.

          But, can you implement this solution into distributive package?


          P.S. Some error in this russian.php ->

          ’Ы’=>’y’ insted ’Ы’=>’yi’
          ’ы’=>’y’ insted ’ы’=>’yi’
          ’Щ’=>’shch’ insted ’Щ’=>’shh’
          ’щ’=>’shch’ insted ’щ’=>’shh’
          ’Ё’=>’ye’ insted ’Ё’=>’yo’
          ’ё’=>’e’ insted ’ё’=>’yo’
          ’Ц’=>’ts’ insted ’Ц’=>’cz’
          ’ц’=>’ts’ insted ’ц’=>’cz’
          ’Х’=>’h’ insted ’X’=>’x’
          ’х’=>’h’ insted ’х’=>’x’

          Russian translation table is from Evolution I don’t know if there are errors. If you are right you can change it and upload it here again with corrections. I haven’t done any transporatation package yet and don’t have time for that right now. If someone could help and do it I would be very happy otherwise I will look at it later...
            • 1061
            • 81 Posts
            Fixed russian transliterate (russian friendly url alias).

            Instruction:

            Extract zip in attachment to root of your modx site and set these system options:
            friendly_alias_translit = [noaccents | russian]
            friendly_alias_translit_class = translit.modTransliterate

            [ed. note: alex_dutch last edited this post 14 years, 2 months ago.]
              • 28173
              • 409 Posts
              I have a suggestion to complete the noaccent tansliteration.

              The apostroph ’ is not converted.

              For example, in french you can have a pagetitle like "Qu’est-ce que qu’un TMS ?"
              With the noaccent translit, the result is : qu’est-ce-qu’un-tms
              And what I want is qu-est-ce-qu-un-tms

              Can you please update your mod in future version ? smiley
                • 19388
                • 297 Posts
                This works great for me too! I hope to see it implemented in the core by default
                  • 24531
                  • 213 Posts
                  Quote from: alex_dutch at Sep 23, 2010, 08:06 AM

                  Fixed russian transliterate (russian frendly url alias).

                  Instruction:

                  Extract zip in attachment to root of your modx site and set these system options:
                  friendly_alias_translit = [noaccents | russian]
                  friendly_alias_translit_class = translit.modTransliterate



                  that doesn’t work for me at revo 2.0.2
                    • 24531
                    • 213 Posts
                    [2010-10-09 14:37:58] (ERROR @ /connectors/resource/index.php) Problem getting service translit, instance of class translit.modTransliterate, from path .../core/components/
                    
                      • 24531
                      • 213 Posts
                      it works when you set it to friendly_alias_translit = russian