We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    I think this is related to system-settings like here:
    https://forums.modx.com/thread/100630/multilanguage-site-with-migxmultilang#dis-post-543718

    you will need to change both of this system-settings to the correct path, since bezumkin had to move the class-pathes out of the modx-core.
    So he has added a system-setting, where you can specify the pathes to custom classes.
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 32507
      • 142 Posts
      Tried with these settings:

      pdoFetch.class: pdotools.linguafetch
      pdofetch_class_path: {core_path}components/linguapdotools/model/

      but no luck. Get the same error: Could not load class: pdofetch from pdotools.pdofetch.
        • 4172
        • 5,888 Posts
        pdotools.linguafetch is wrong

        I think it has to be linguapdotools.linguafetch
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 32507
          • 142 Posts
          That did the trick, Thanks. Should it be changed here also?
          https://github.com/Bruno17/linguaPdoTools
            • 32507
            • 142 Posts
            It would be nice to exclude untranslated languages from lingua.selector -menu too. But i guess this is another case, since this is for pdoTools.
              • 4172
              • 5,888 Posts
              Quote from: wintertribe at Aug 03, 2016, 07:22 AM
              That did the trick, Thanks. Should it be changed here also?
              https://github.com/Bruno17/linguaPdoTools

              done
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 52420
                • 3 Posts
                Quote from: Bruno17 at Aug 03, 2016, 08:55 AM

                done

                Thanks, Bruno! smiley

                  • 32507
                  • 142 Posts
                  Quote from: srp at Jun 02, 2016, 02:12 PM
                  This really is a fantastic component! I've just about got my whole site adjusted to work with Lingua, including MIGX and some fairly complex templates.

                  We will eventually have the site translated into 5 or 6 languages, so the next big step is getting it to integrate with the site search. I'm struggling to get it working with either SimpleSearch or AdvSearch, both of which supposedly work with custom tables. Has anyone managed to achieve this?

                  I'm struggling with site search also. Any ideas how to get SimpleSearch or AdvSearch working with Lingua and translated languages?
                    • 50312
                    • 34 Posts
                    On one of my installations I get this message in my error log on each site i load in the frontend (even without any template assigned to it):

                    [2016-12-13 13:20:18] (ERROR @ index.php) /core/components/lingua/model/lingua/linguarequest.class.php
                    [2016-12-13 13:20:18] (ERROR @ index.php) LinguaRequest::getResource
                    [2016-12-13 13:20:18] (ERROR @ index.php) 298: $resourceArray: Array
                    (
                    [id] => 12
                    [type] => document
                    [contentType] => text/html
                    [pagetitle] => ProblemPage
                    [longtitle] =>
                    [description] =>
                    [alias] => problempage
                    [link_attributes] => redakteur-default
                    [published] => 1
                    [pub_date] => 0
                    [unpub_date] => 0
                    [parent] => 0
                    [isfolder] =>
                    [introtext] =>
                    [content] => <p>some text here</p>
                    [richtext] => 1
                    [template] => 0
                    [menuindex] => 4
                    [searchable] => 1
                    [cacheable] => 1
                    [createdby] => 1
                    [createdon] => 2014-10-27 11:05:24
                    [editedby] => 1
                    [editedon] => 2016-12-13 13:03:49
                    [deleted] =>
                    [deletedon] => 0
                    [deletedby] => 0
                    [publishedon] => 2014-10-27 11:05:00
                    [publishedby] => 1
                    [menutitle] =>
                    [donthit] =>
                    [privateweb] =>
                    [privatemgr] =>
                    [content_dispo] => 0
                    [hidemenu] =>
                    [class_key] => modDocument
                    [context_key] => web
                    [content_type] => 1
                    [uri] => problempage.html
                    [uri_override] => 0
                    [hide_children_in_tree] => 0
                    [show_in_tree] => 1
                    [properties] =>
                    )


                    Is this a Lingua based problem? I have no clue where to search for that..
                    • Quote from: aaantz at Dec 13, 2016, 12:45 PM
                      On one of my installations I get this message in my error log on each site i load in the frontend (even without any template assigned to it): … Is this a Lingua based problem? I have no clue where to search for that..

                      Please disable the MODX system setting lingua.debug. The debug message is created here with enabled lingua.debug: https://github.com/goldsky/Lingua/blob/master/core/components/lingua/model/lingua/linguarequest.class.php#L295-L299