We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25910
    • 26 Posts
    This is an auto-generated topic for Babel 1.1-rc1 by saerni.

    Brief Description:

    Babel is a plugin who creates linked documents cross different contexts in the manager.
    New in this version:

    • a snippet (use it in the frontend) to create the links between the binded documents.
    • css link bug fixed

      • 33976 ☆ A M B ☆
      • 571 Posts
      Just a small word to say that the upgrade erased the previous configuration, also i’m still having errors on 2.0.5-git :
      (ERROR @ /manager/index.php) Error 23000 executing statement:
      INSERT INTO `modx_site_tmplvar_templates` (`tmplvarid`, `templateid`, `rank`) VALUES ('1', '5', '0')
      Array
      (
          [0] => 23000
          [1] => 1062
          [2] => Duplicate entry '1-5' for key 'PRIMARY'
      )


      Which i don’t have if Babel plugin is disabled.

      Thanks for the update
        • 21838
        • 284 Posts
        Why doesn’t v1.1-rc1 list as an update in the package manager (2.0.4pl2)?

        edit:

        Think that’S the point why the config is not correct. v1.1 is listed as a new package, not as an update.
        Just a small word to say that the upgrade erased the previous configuration, also i’m still having errors on 2.0.5-git :

        edit2:

        There are more problems to work on... I’ve just upgraded manually to v1.1-rc1 from 1.0beta (previous version). First thing, I have to configure the plugin completely new after install.

        Now I’ve got some problem with formerly existing translations. Means, I had done some translation in v1.0 which hasn’t worked properly (couldn’t create a new resource in 2nd context) and now the translation buttons are shown for my "translated" document which still doesn’t exist. Wish I could say, translation "un-binding" to connect to a new ressource or to create a new translation for releases in the future.

        Not for releases: Please always provide the changelog in the package installer. For 2.0.5 ist mandatory, too.
          MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
          • 8522
          • 145 Posts
          Just installed babel 1.1 rc1 on a recent 2.0.5-git revo. So far it works great, but it seems to ignore custom property sets. The only way I get it to work is by setting the default property set, which is discouraged since they get overwritten by new updates of the plugin.

          BTW: Is there anyway you could put babel on github?
            • 8522
            • 145 Posts
            Getting the same error as Romain reported (also using a recent git version) and found that the error occurs when editing a resource. I could locate the problem a bit, it is triggered by $babel->createBabelTV($resource,$template_id);


            Quote from: smooth-graphics at Nov 30, 2010, 12:53 AM

            I had done some translation in v1.0 which hasn’t worked properly (couldn’t create a new resource in 2nd context) and now the translation buttons are shown for my "translated" document which still doesn’t exist. Wish I could say, translation "un-binding" to connect to a new ressource or to create a new translation for releases in the future.

            @smooth-graphics: If I understand your problem correctly:
            The translation buttons (English, French, German) are displayed when the babel_ids TV contains id’s of the other resources. In your case the resources are missing. Is that correct?

            If yes, then you can delete the text of the babel_ids TV, save the resource and reload (save is not enough) to display the correct babel button. It should now display: "Create translations"


              • 21838
              • 284 Posts
              Quote from: eerne at Dec 02, 2010, 10:33 AM

              @smooth-graphics: If I understand your problem correctly:
              The translation buttons (English, French, German) are displayed when the babel_ids TV contains id’s of the other resources. In your case the resources are missing. Is that correct?
              If yes, then you can delete the text of the babel_ids TV, save the resource and reload (save is not enough) to display the correct babel button. It should now display: "Create translations"

              Of course, I’m sorry, this was easy to solve. For upcoming versions: Perhaps it could be added that if one ID doesn’t exist anymore, it automatically shows up create translation buttons. Don’t know how much effort this would be but could be useful for someone.

              // Would be very cool to have it hosted on GitHub!
                MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
                • 19534
                • 183 Posts
                Quote from: smooth-graphics at Dec 02, 2010, 11:54 AM

                // Would be very cool to have it hosted on GitHub!

                I appreciate that, too!

                P.S. Great Add-on!
                  Add-On to easily manage your multilingual sites: Babel
                  • 21838
                  • 284 Posts
                  Quote from: Jakob at Dec 13, 2010, 05:04 AM

                  Quote from: smooth-graphics at Dec 02, 2010, 11:54 AM

                  // Would be very cool to have it hosted on GitHub!
                  I appreciate that, too!
                  So, i’d just want to note that saerni wrote to me that he’s going to do that (likely) when having enough time. And he’d also do some bugfixes etc by then...
                    MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
                    • 19534
                    • 183 Posts
                    Ok I’ll wait for that before posting my proposals to change the code...

                    Cheers!
                      Add-On to easily manage your multilingual sites: Babel
                      • 25910
                      • 26 Posts
                      Hi,

                      babel is on github now:

                      https://github.com/enzyms/babel

                      à bientôt, bis bald, see you soon, até mais, hasta luego smiley