Custom Script date functions and I18N support

0

Is there a way to have the date functions return strings in the language the survey is being taken in. 

I just tested with the following script:

%%date = sgapiDate(“l F j”);
%%output .= ‘Todays date: ‘.%%date;

Added French translation to my survey.

From the Test window changed the Language to French and it still shows

Todays date: Wednesday August 24

 

Is there a way to have this return a translated string or worst case get the current language?

Dominic Sharpe answered
    0

    There is a new Custom Scripting function that might help you (or at least get you a bit closer):

    https://script.surveygizmo.com/help/sgapitranslatestringlanguage

    Cheers!

    Dominic Sharpe answered
      ×

      Login

      Question stats

      • Active
      • Views729 times
      • Answers1 answer
      • Followers1 follower