In This Article:

    Workaround for missing Spanish Translations

    In This Article:

      Salsa provides translations for your page contents via the Internationalization package.  The same package automatically provides translations for prompts and labels on pages.  If you view a donation page with Spanish translations, however, you'll see that some of the phrases still appear in English.

      We've reported these missing phrases to our developers and asked then to provide translations.  This article describes a workaround that will provide those missing translations while our developers work.


      The solution is to install a script in your templates that are used by pages translated into Spanish.  The script knows that the page is in Spanish because the language identifier '/l/spa/' appears in the page URL.  When the script sees '/l/spa/', then it knows that some phrases need to be translated to Spanish.

      Please note: This script will not work if page does not have '/l/spa/' in the URL.


      The script needs to be installed into any template that's assigned to a page that can appear in Spanish.  Here are some steps that you can use.

      1. Edit a template.  Click here if you need help getting started with that.
      2. Use the browser's search tool to locate the </body> tag.
      3. Insert a blank line just before the </body> tag.
      4. Click here to see the page where the solution lives.
      5. Locate and click the "Raw" button.  A new window will open that contains just the solution.
      6. Copy the contents of the window and close it.
      7. Return to the template editor.
      8. Paste the copied text into the newly inserted line in the template.
      9. Save the template.
      10. Test!


      My sincere thanks to Alba Sanchez at Women's Link Worldwide for pointing out that there's still English on Spanish-language donation pages and for providing the much-needed translations.  Click the link!  Explore their site!  Maybe you can help them in their work.


      If you have any questions, then please gather this information

      Send all of this information to, and we'll be glad to help.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request



      Please sign in to leave a comment.