How to translate the messages to another language

Last post 08-24-2009, 12:55 PM by cutechat. 4 replies.
Sort Posts: Previous Next
  •  08-20-2009, 11:34 AM 54859

    How to translate the messages to another language

    I am trying:
     
                     $uploader->$CancelAllMsg = 'Cancelar Todas';
    $uploader->$CancelUploadMsg = 'Cancelar la Carga';
    $uploader->$UploadProcessingMsg = 'Carga en proceso';
    $uploader->$FileTooLargeMsg = 'Fichero demasiado grande';
    $uploader->$MaxFilesLimitMsg = 'Demasiadas ficheros';
    $uploader->$FileTypeNotSupportMsg = 'Tipo de fichero no soportado';
    $uploader->$UploadingMsg = 'Cargando...';

     
    I still see all the loading messages in english.
     
    What am I doing wrong? 
  •  08-20-2009, 11:35 AM 54860 in reply to 54859

    Re: How to translate the messages to another language

    make that 'Demasiados Ficheros'... :)
  •  08-21-2009, 1:00 AM 54881 in reply to 54860

    Re: How to translate the messages to another language

    Hi,
     
    you need remove the '$'
     
    $uploader->$UploadingMsg
     
    to
     
    $uploader->UploadingMsg
     
    Regards,
    Terry
     
  •  08-24-2009, 12:24 PM 54975 in reply to 54881

    Re: How to translate the messages to another language

    Ooops! :)
     
    OK, I fixed it, but when I load files I still see (very quickly):
     
    Uploading... secs remaining
     
    Are there more messages that I should also translate? 
  •  08-24-2009, 12:55 PM 54977 in reply to 54975

    Re: How to translate the messages to another language

    Please try
     
    $uploader->ProgressTextTemplate="For example : %F%.. %P% %SEND%/%SIZE% , %KBPS% , %T% seconds left.";
View as RSS news feed in XML