We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28532
    • 29 Posts
    Bob
    Sorry for the delayed reply.
    I’ve been on the move and only just got back to this issue.
    Unfortunately I still cannot get the entire spanish translation to appear. My client is running out of time so i have literally translated selected text strings to spanish by overwriting the English lexicon grid content.
    It would be great if anyone has successfully installed another language for the form or similar plugin where only the front end is needing translation and could explain how they did it.
    Many thanks for your suggestions.
    Steve
      Steveed[br /]
      New to Modx
      Working with Rev 2.0.7-pl
      • 3749
      • 24,544 Posts
      OK, I’m getting things ironed out. I need a Spanish version of the SPForm properties.inc.php file (preferably in UTF-8 encoding) before I can release the new version (right now, the properties appear in German -- you probably don’t want that.) wink

      In the meantime, changing this line in the SPForm snippet (around line 142):
      $this->modx->lexicon->load($language . 'spform:default');


      to this:
      $modx->lexicon->load($language . 'spform:default');



      will help some, though it won’t fix the JS alerts or the Captcha prompts. Those are all fixed (hopefully) in the new version (up at GitHub, but with the German properties file).
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting