This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Changing the language of the default messages

The messages displayed in Snap WebHost can be changed for a single survey by creating a text file called surveymessages.txt that contain the new messages to display. This is then added to the published zip file before uploading to Snap WebHost.

If you have Snap WebHost installed on your server, the System Administrator can also change messages for the whole of the Snap WebHost site.

Changing the messages for the whole site

The format of surveymessages.txt

The file must contain fourteen lines of text, where each line of text is one of the messages that Snap WebHost displays. The lines of text should be in the following format.

message1

message2

message3

.....

message13

message14


Each of the fourteen messages are used in the following circumstances only, and they are selected in a particular order.

  1. URL not present
  2. Login failed
  3. Login succeeded but multi-responses not permitted
  4. Data not seeded for respondent
  5. Session time out
  6. Panel session time out
  7. Survey not yet started
  8. Survey finished
  9. Survey not currently available (paused)
  10. Survey cannot resume as cookies not enabled on respondent's machine
  11. Quota full
  12. Send URL to partial survey (anonymous login)
  13. Save partial survey (respondent login)
  14. Users over server concurrency limit for survey/researcher/server

Each message must be on a separate line in the file. Messages can contain the HTML tag <br> to insert a line break. Comments can be added to the file by preceding them with a hash (#) character. The hash character must be the first character on the line. There must not be any blank lines in the file. Do not use numbering of the lines.

Sample surveymessages.txt file

#This file must be called surveymessages.txt
#Messages displayed to the user by Snap WebHost
#This text file is added to the published zip file before uploading to WebHost
#Warning: If the survey is republished the zip file is overwritten, therefore this text file will need to...
#...be added to the zip file again before reloading on WebHost
Please check that the URL you are using is complete.
Please check your login details and try again.
You have already completed this survey.
Failed to load the survey data.
Your session has timed out.<br/>Please log in again to continue this survey.
Your session has timed out.<br/>Please log in again to access this panel.
This survey is not yet available.
This survey is now closed.
This survey is not currently available<br/>Please try again later.
Unable to locate survey.
Thank you for your time but this survey is now complete.
Your resume URL has been emailed to you.<br/>Your current responses will be reloaded when you return.<br/>
Your responses have been saved but not submitted<br/>Your current responses will be reloaded when you return.<br/>
The system is currently busy<br/>Please try again later.


See Also

Giving surveys meaningful URLs

Changing the default pages generated by Snap WebHost

Administrating user accounts on a dedicated Snap WebHost server