We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16085
    • 203 Posts
    Default install ’Choose Language’ isn’t defaulted to ’english’. Whoops nearly had bulgarian install.
      • 29076
      • 615 Posts
      Why should it be? smiley
        I think, thererfor I am! But what I am, and why...?
        • 16085
        • 203 Posts
        All the rest are!?
        • So? MODx has a very large body of non-English speaking users. It would be very presumptuous if not downright arrogant to presume English should be the "default" choice. A simple alphabetical list is more appropriate to a multinational user base.

            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
          • Would also make sense to put the top X number (by Google Analytics countries) at the top of the list. Currently for the top 10 that would be:

            US (en)
            UK (en)
            Russia (ru)
            Japan (jp)
            Germany (de)
            France (fr)
            Netherlands (nl)
            Canada (en/fr)
            Australia (en)
            India (en/ne/ta/raj/sd/ur/hi/pa ... 20+ actually)

            Defaulting to English isn’t a horrible idea, but making sure the others are properly addressed and easily selectable should be a big priority too.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 16085
              • 203 Posts
              I’m not trying to start a language war here just stating the obvious with regard to what is gone in the past. Previous versions of MODx are defaulted to english. This version isn’t. Its a change I’ve noticed hence why I’ve posted. In my opion it would be better if it where left blank! I’m just stating the fact it would be a little irritanting to install MODx and not realising you’ve ended up with a language install you don’t speak. Nothing more!
              • I agree knightknight and think we should stick with previous conventions when there’s not a compelling reason to switch.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 5811
                  • 1,717 Posts
                  Previous versions of MODx are defaulted to english.
                  It’s not totaly true but a pure coincidence grin.

                  English was the default because with Modx 0.9.6.1 Bulgarian didn’t exist as language for the installer. So English arrived before (alphabetic order):
                  French
                  German
                  Russian
                  Spanish
                  Svenska

                  With 0.9.6.2, we have added : japanese, norwegian and persian.

                  The MODx 0.9.6.1 code was:
                  	<select name="language" style="float:left;">
                  	<?php foreach ($langs as $language) echo '<option>' . $language . '</option>' ?>
                  	</select>
                  And the MODx 0.9.6.2 code is now:
                  	<?php 
                      foreach ($langs as $language) {
                        $abrv_language = explode('-',$language); // filter of character set extension
                        echo '<option value="' . $language . '">' . $abrv_language[0] . '</option>'."\n";
                      }
                    ?>
                  Where $langs in the two versions is provided by the names of language folders. So, this is the same thing (alphabetic order). With Modx 0.9.6.2, in addition, as we propagate the language to the admin manager, we are forced to filter the extension (e.g .utf8). I Know it, I have updated this part of code.

                  So, take care if a guy of Abkazia ask for a new version of the installer laugh
                  • So, take care if a guy of Abkazia ask for a new version of the installer Cheesy
                    I won’t be surprised if we get Arabic before too much longer, either.
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                    • I’d say go alpha and not by user weighting. (Although I recommend user weighting for eCommerce). The only problem I can see is people like me who do installs w/o thinking and nearly did a Bulgarian install. That being said it’d be easy enough for people to use the keyboard to quickly jump as the language list grows. I’ve gotten used to Canada being 3rd "C" in a country list I can get used to having to select English on install.
                        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub