We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16544
    • 86 Posts
    Hi guys! I want to change the default language to Ditto 2.1, so I changed it to:

    $language ="spanish";

    and

    "base_language" => $ditto_base."lang/spanish.inc.php",

    these are the only two references I could find in the snippet and still is not working. Also, the language file is in the lang folder. Is there anything else I have to do? Thanks. [ed. note: labanino last edited this post 11 years, 3 months ago.]
      I had fainted, unless I had believed to see the goodness of the LORD in the land of the living.
    • The proper way to set the language in Ditto is to use &language=`language` in the snippet properties. Otherwise, it will use the Manager's language.
        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
        • 16544
        • 86 Posts
        The thing is that I'm using &truncLen and is showing a Read more... the one I want to change but I don't know where is it coming from? I looked into the english and spanish lang file and I couldn't find it. sad [ed. note: labanino last edited this post 11 years, 3 months ago.]
          I had fainted, unless I had believed to see the goodness of the LORD in the land of the living.
        • summary.extender.php line 66; use &trunkText to override it.
            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