We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22815
    • 1,097 Posts
    Quote from: rthrash at Sep 14, 2006, 08:37 AM

    Speaking of which, Paul, let’s collaborate on that language file cleanup (documenting the changes and any re-organization) and get the translators started. Lots of new stuff in the file, and lots of stuff we can remove, too.
    Sure, I’ll get that sorted from home tonight (ie in about 3-6 hours from the time of this message). On a related note:

    Idea about sorting out the default content
    I’m unclear how this is being sorted, and the current process would seem to involve changing lines in the installer, then running the installer - not particularly fun for collaborative editing.

    Changes are needed to both the snippets used and to the text content.

    So - How about we set up a MODx 0.9.5 B2 install somewhere, give a bunch of us admin rights (or use one shared admin account), and go through tweaking the default content until we’re all happy with it? (Using a forum to gain consensus for any changes that might seem contentious). This would seem the easiest way of getting each snippet author to look over what calls we’ve used so everything’s best-practice, working examples. It also enables everyone to see the whole picture. THEN we can export that out to the default install script.
      No, I don't know what OpenGeek's saying half the time either.
      MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
      Forum: Where to post threads about add-ons | Forum Rules
      Like MODx? donate (and/or share your resources)
      Like me? See my Amazon wishlist
      MODx "Most Promising CMS" - so appropriate!
      • 25663 MODX Staff
      • 12,272 Posts
      That’s a great call Paul. Good thinking indeed. Anyone got a spare domain (I’ll sort through my available ones)...?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 2762
        • 1,198 Posts
        Nicola (Banzai) Reply #153, 20 years ago
        Quote from: rthrash at Sep 14, 2006, 11:38 AM

        That’s a great call Paul. Good thinking indeed. Anyone got a spare domain (I’ll sort through my available ones)...?

        I can share my www.modx.it (there is only the template) .
          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 7923
          • 4,213 Posts
          I’m up for updating snippet calls if needed..


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 25663 MODX Staff
            • 12,272 Posts
            We need to port to ditto and wayfinder indeed. Banzai, can you get the current beta (or head/trunk) installed there?
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 22815
              • 1,097 Posts
              I’ve made some headway on the language file.

              Because files may have $_lang[’singlequotes’] or sometimes $_lang[’similarname_withanextrabit’], a big bulk comparison search is unreliable so I have gone through doing manual searches.

              As a first run through, I have concentrated on lines that are either already marked as Obsolete, or which stand out as being unlikely to still be in. These have all been checked on a search (taking into account possible variance in the quotes used in the actual scripts).

              I have commented out lines which had no matches. Lines that are confirmed as being referenced have an //InSaysPaul comment at the end, so we know which ones have been verified by me as In Use (which include some marked as obsolete).

              Once we have commented out all the unnecessary lines, we can produce a list of the removed lines, and a tidied English file. The file could then be tidied further - frankly, I think an alpha-sort will be the easiest method. I understand the benefit of keeping the newest lines at the bottom, but there are now many releases represented in the lang file.

              Am uploading the file here as it is easiest for me presently. I won’t be able to do anything more on it for a few days (although I will have web access so I’ll be able to tinker with the default content if we get a site rolling).

              I do think we should take a moment to honour the translations that have been made of one particular line which is facing the chop:
              manager\includes\lang\english.inc.php (221):$_lang["confirm_preview"] = 'This function is crap!\n\nIt only shows the saved version of the page, and not what you just edited. Still want to preview?';
              manager\includes\lang\finnish.inc.php (226):$_lang['confirm_preview'] = "Tämä funktio on kehno!\\n\\nSe näyttää vain tämän sivun tallennetun version, ei sitä mitä juuri muokkasit. Haluatko silti esikatsella?";
              manager\includes\lang\francais.inc.php (220):$_lang['confirm_preview'] = "Cette fonction est incomplète !\\n\\nElle n'affiche que la version enregistrée de la page, et non vos modifications.\\n\\nVoulez-vous malgré tout prévisualiser ?";
              manager\includes\lang\german.inc.php (222):$_lang['confirm_preview'] = "Diese Funktion ist nicht sinnvoll!\\n\\nEs wird nur die gespeicherte Version und nicht die bearbeitete Version angezeigt. Trotzdem anzeigen?";
              manager\includes\lang\italian.inc.php (220):$_lang['confirm_preview'] = "Questa funzione è stupida!\\n\\nEssa visualizza solo la versione salvata della pagina, non quella che hai appena modificato. Vuoi ancora l'anteprima?";
              manager\includes\lang\japanese-utf8.inc.php (220):$_lang['confirm_preview'] = "ã?“ã?®æ©Ÿèƒ½ã?¯å½¹ã?«ç«‹ã?¡ã?¾ã?›ã‚“!\\n\\nä¿?å­˜ã?•れã?Ÿãƒ?ージョンã?®ãƒšãƒ¼ã‚¸ã?®ã?¿è¡¨ç¤ºã?•れã€?ã?‚ã?ªã?Ÿã?Œç?¾åœ¨ç·¨é›†ã?—ã?¦ã?„るページã?¯è¡¨ç¤ºã?•れã?¾ã?›ã‚“。ã??れã?§ã‚‚プレビューã?—ã?Ÿã?„ã?§ã?™ã?‹?";
              manager\includes\lang\nederlands.inc.php (228):$_lang['confirm_preview'] = "Deze functie is rotzooi!\\n\\nZe geeft de opgeslagen versie van het bestand weer, en niet de versie met de gemaakte wijzigingen. Toch het voorbeeld bekijken?";
              manager\includes\lang\norsk.inc.php (220):$_lang['confirm_preview'] = "Denne funksjonen er verdiløs!\\n\\nDen viser bare len cachede versionen av siden ikke hva du har redigert nå. Vil du forhåndsvise siden?";
              manager\includes\lang\simple_chinese-gb2312.inc.php (220):$_lang['confirm_preview'] = "Õâ¸öÊǸ½×¢¹¦ÄÜ!\\n\\nËüÖ»ÏÔʾ±£´æµÄ°æ±¾,¶ø²»ÊÇÄã¸Õ±à¼­µÄ°æ±¾.ÄãÈÔÐèÒªÔ¤ÀÀÂð£¿";
              manager\includes\lang\svenska.inc.php (220):$_lang['confirm_preview'] = "Denna funktion är värdelös!\\n\\nDen visar endast den sparade versionen av sidan och inte vad du har redigerat nu. Vill du förhandsgranska ändå?";
              Now you can slag off functions in many languages!
                No, I don't know what OpenGeek's saying half the time either.
                MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                Forum: Where to post threads about add-ons | Forum Rules
                Like MODx? donate (and/or share your resources)
                Like me? See my Amazon wishlist
                MODx "Most Promising CMS" - so appropriate!
                • 25663 MODX Staff
                • 12,272 Posts
                Great job Paul and thanks for the effort. FYI, I’m working on a bit of a manager overhaul right now and have a few more pages to get sorted out before I let everyone take a peek and see if they think it merits finishing out. Lots of tweaks are taking place in the language file I’m working on, too. Amazing what a bit of tweaked language can do for usability. smiley
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 22815
                  • 1,097 Posts
                  Very true. Long-term I will probably override some of the lang definitions with website-specific help, which will be even better for client users.

                  I hope you’re sorting out the credits page as part of the manager overhaul - the actual credits shouldn’t be in the lang files!

                  One thing that strikes me is that it would be useful to have a bunch of sentences that could be common to many MODx addins (potentially front-end too), that would be guaranteed to stay in in future versions. Things like "Save", "Forgotten password?", "Post Comment" etc. MODx authors would be encouraged to use those if possible.

                  Multi-lingual is where MODx is headed and this would be a great step.
                    No, I don't know what OpenGeek's saying half the time either.
                    MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                    Forum: Where to post threads about add-ons | Forum Rules
                    Like MODx? donate (and/or share your resources)
                    Like me? See my Amazon wishlist
                    MODx "Most Promising CMS" - so appropriate!
                    • 2762
                    • 1,198 Posts
                    Nicola (Banzai) Reply #159, 20 years ago
                    Quote from: rthrash at Sep 14, 2006, 12:45 PM

                    We need to port to ditto and wayfinder indeed. Banzai, can you get the current beta (or head/trunk) installed there?


                    cleaned db and installed last beta rev 1417 smiley

                    http://www.modx.it/

                    admin: admin
                    password: modxteam
                      Free MODx Graphic resources and Templates www.tattoocms.it
                      -----------------------------------------------------

                      MODx IT  www.modx.it
                      -----------------------------------------------------

                      bubuna.com - Web & Multimedia Design
                      • 2762
                      • 1,198 Posts
                      Nicola (Banzai) Reply #160, 20 years ago
                      misssing [(base_url)] in MODxHost template:

                      <head>
                      <title>[(site_name)] | [*pagetitle*]</title>
                      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                      <link rel="stylesheet" href="assets/templates/modxhost/layout.css" type="text/css" media="screen" />
                      <link rel="stylesheet" href="assets/templates/modxhost/modxmenu.css" type="text/css" media="screen" />
                      <link rel="stylesheet" href="assets/templates/modxhost/form.css" type="text/css" media="screen" />
                      <link rel="stylesheet" href="assets/templates/modxhost/modx.css" type="text/css" media="screen" />
                      <link rel="stylesheet" href="assets/templates/modxhost/print.css" type="text/css" media="print" />
                      <script src="manager/media/script/scriptaculous/prototype.js" type="text/javascript"></script>
                      <script src="manager/media/script/scriptaculous/scriptaculous.js" type="text/javascript"></script>
                      <script type="text/javascript" src="assets/templates/modxhost/moo.fx.js"></script>
                      <script src="assets/templates/modxhost/drop_down_menu.js" type="text/javascript"></script>
                      <script src="assets/snippets/AjaxSearch/AjaxSearch.js" type="text/javascript"></script>
                      <script type="text/javascript">
                        Free MODx Graphic resources and Templates www.tattoocms.it
                        -----------------------------------------------------

                        MODx IT  www.modx.it
                        -----------------------------------------------------

                        bubuna.com - Web & Multimedia Design