1. paduz
  2. CMC - Mailchimp for Joomla!
  3. Tuesday, 16 October 2012
  4.  Subscribe via email
Hello, I have to translate the error messages of the form but in the languages ​​folder of the component can not find the line to edit :S .

I want to translate the following messages:

Error: This field is required.

Error: Please use numbers and punctuation only in this field (for example, a phone number with dashes or dots is permitted).

Error: Please enter a valid URL Such as http://www.example.com.


How should I do?

thanks
Attachments (1)
Responses (8)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey there!
That is actually strange. You want to translate those error messages in italian, right?
I just had a look at media/system/js/mootools-more-uncompressed.js and the translation for those strings seems to be there:


Locale.define('it-IT', 'FormValidator', {

required: 'Il campo è obbligatorio.',
minLength: 'Inserire almeno {minLength} caratteri (ne sono stati inseriti {length}).',
maxLength: 'Inserire al massimo {maxLength} caratteri (ne sono stati inseriti {length}).',
integer: 'Inserire un numero intero. Non sono consentiti decimali (es.: 1.25).',
numeric: 'Inserire solo valori numerici (es.: "1" oppure "1.1" oppure "-1" oppure "-1.1").',
digits: 'Inserire solo numeri e caratteri di punteggiatura. Per esempio è consentito un numero telefonico con trattini o punti.',
alpha: 'Inserire solo lettere (a-z). Non sono consentiti spazi o altri caratteri.',
alphanum: 'Inserire solo lettere (a-z) o numeri (0-9). Non sono consentiti spazi o altri caratteri.',
dateSuchAs: 'Inserire una data valida del tipo {date}',
dateInFormatMDY: 'Inserire una data valida nel formato MM/GG/AAAA (es.: "12/31/1999")',
email: 'Inserire un indirizzo email valido. Per esempio "nome@dominio.com".',
url: 'Inserire un indirizzo valido. Per esempio "http://www.example.com".',
currencyDollar: 'Inserire un importo valido. Per esempio "$100.00".',
oneRequired: 'Completare almeno uno dei campi richiesti.',
errorPrefix: 'Errore: ',
warningPrefix: 'Attenzione: ',

// Form.Validator.Extras
noSpace: 'Non sono consentiti spazi.',
reqChkByNode: 'Nessuna voce selezionata.',
requiredChk: 'Il campo è obbligatorio.',
reqChkByName: 'Selezionare un(a) {label}.',
match: 'Il valore deve corrispondere al campo {matchName}',
startDate: "data d'inizio",
endDate: 'data di fine',
currendDate: 'data attuale',
afterDate: 'La data deve corrispondere o essere successiva al {label}.',
beforeDate: 'La data deve corrispondere o essere precedente al {label}.',
startMonth: "Selezionare un mese d'inizio",
sameMonth: 'Le due date devono essere dello stesso mese - occorre modificarne una.'

});


They are also in the compressed version of the file, so everything seems to be in place. Or is this a different language?
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 1
Accepted Answer Pending Moderation
Right!

Your help was useful and I solved my case study.

Thanks :)
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
so what was it???
Missing it translation in the js file or what?
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 3
Accepted Answer Pending Moderation
Hi,

I have the same problem. The error MSG are not traslated. You can see it at;
http://www.xsport.si/v2/tipografija-2

The site is in Slovene (sl-SI) but the error MSG are loaded in English. I have checked mootools-more.js which is loaded by the site and the translations for Slovenian are there.

Regards,

Marko
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 4
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Marko,
Well, with you we have a different problem. A typo in mootools-more. They have the wrong locale for slovenian (si-SI instead of sl-SI). I just submitted a pull request there:
https://github.com/mootools/mootools-more/pull/1177

But it will take a while, till they approve it and it will take even more time till this thing gets into joomla...

So, just go ahead and fix it in your joomla installation. Go to media/system/js/mootools-more.js look for
si-SI and change it to sl-SI .

After that it should be working.
Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 5
Accepted Answer Pending Moderation
Hi,

thanks for your quick reply. I changed it as you can see; http://www.xsport.si/v2/media/system/js/mootools-more.js , but the error is still in English :-(

Regards, Marko
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 6
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Marko,
So I made a small change to the module code. You can grab the latest version from here:
https://compojoom.com/component/ars/repository/dev-cmc

Let me know if this solves the problem please.
daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 7
Accepted Answer Pending Moderation
Thanks...it's working now.

Marko
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Powered by EasyDiscuss for Joomla!