Translation bug

  • Profile Image
    ParaisoAnimal
    Asked on April 17, 2012 at 02:36 PM

    Hi,

    Our survey is configured to Brazilian Portuguese. When viewing the form through the "view" button in your editor, the name of the months in the birthdate fields appear in portuguese. However, when the form is embedded to our site using javascript (see http://www.paraisoanimal.net/ficha/) the months appear in english.

    Best Regards

    Bruno

     

  • Profile Image
    Goldo
    Answered on April 17, 2012 at 03:07 PM

    Please try to re-embed the form using iFrame. I have tried it with my own site and seems to work fine, month displayed in Portugues.

  • Profile Image
    ParaisoAnimal
    Answered on April 18, 2012 at 09:56 AM

    Hi Goldo,

    Thanks for your reply. I tried embedding using iFrame but there is an issue: the lenght of the iFrame is fixed. My form is multi-page, if I set the lenght of the iFrame to the lenght of the 1st page (wich is the longer page), the other pages dont look good because the iFrame is much longer than the actual page.

  • Profile Image
    gori-mathew
    Answered on April 18, 2012 at 10:08 AM

    Hi,

    Sorry for what this issue has caused you. Unfortunately, it is not possible to change the Calendar  language (date). However, it is possible to change many of the messages including the fields names by first selecting language before starting to design  any forms. The laguage translation feature will not translate the lables of the already created form prior to the change.

    Look at the thread below on how to change language of other form messages,

    http://www.jotform.com/answers/23755-How-do-I-change-a-form-to-a-different-language-after-it-s-been-built

    Hope this information is helpful to you.Thanks for using Jotform!

  • Profile Image
    ParaisoAnimal
    Answered on April 20, 2012 at 08:24 PM

    Hi,

    Thanks for your reply and clarifications. However, our business is using JotForm for 2 thing only: customer registration form (most important) and client satisfaction survey. The reported bug takes place in our customer registration form and most of our customers speak portuguese only (not many brazilians speak english). So if the form can't be translated to portuguese, it is of no use for us. Could you please change the language of this form or try to find another solution for this?

    Thank you

  • Profile Image
    liyam
    Answered on April 21, 2012 at 01:54 AM

    Hello,

    After doing some tests, I have translated the default language of your account to Portuguese from English.  This changed your form's month values on the date field to the default language of your account.

    Will this work for you as is?

  • Profile Image
    ParaisoAnimal
    Answered on May 08, 2012 at 12:05 PM

    Hi,

    Sorry for taking so long to reply. Thanks for your attempt, however the months are still in english. Please look at the live form in our website at: http://www.paraisoanimal.net/ficha/ficha.php

    Thank you

  • Profile Image
    jeanettebmz
    Answered on May 08, 2012 at 02:13 PM

    @ParaisoAnimal

    In order for you to accomplish the calendar in portuguese, you would need to download the source code of your form and embed it into your page.  

     Please follow  these steps:

    1) Click on Embed Options Button and choose Source again

    2) Now click on the item "You can also download a compressed and refined version with seperate .css and .js files from here".

    3) Once downloaded ZIP file, decompress it and open with Wordpad file: /js/calendarview.js

    6) In the section:

    Calendar.DAY_NAMES = [
      'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',
      'Sunday'
    ];

    change it to
    :


    Calendar.DAY_NAMES = [
     
    'Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado',

       'Domingo'
    ];

    Do the same for the rest of the sections

     
    Calendar.SHORT_DAY_NAMES = [
      'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S'
    ];

    Calendar.MONTH_NAMES = [
      'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August',
      'September', 'October', 'November', 'December'
    ];

    Calendar.SHORT_MONTH_NAMES = [
      'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov',
      'Dec'
    ];

     

    Make sure you also search on the javascript code for the word : 'Today' (between apostrophes ') and change it to 'hoje'  , please note you will see the function Today without the apostrophes, which shouldn't be changed. So be careful

    If you need further assistance, let us know

    Jeanette

  • Profile Image
    liyam
    Answered on May 08, 2012 at 02:40 PM

    In addition to Jeanette's response, I checked your account and it seems that you have returned your account's language settings to English. 

    As I stated on my last post, if you wish to change the values of the date to Portuguese, you will need to change the language settings of your account to Portuguese.

    You can either do this, or you can follow Jeanette's instructions. 

    If you have other questions or concerns, please do let us know.

    Thanks.