Description
I upgraded from 2.2.4 to 2.2.5 with language IT_IT set for back- and frontend.
I did it several times, from the wizard and CLI, following all instructions carefully.
Both ways I got many back and frontend text messages, tips, etc. messed up, enclosed in curly braces and repeated. Below you find a sample of it.
Finally I got down to the problem: the js-translation.json files in pub/static/adminhtml/Magento/backend/it_IT and its counterpart in the frontend had grown from 15,7 KB to 53,1 KB and from 3,0 KB to 67,6 KB respectively after the upgrade.
I replaced them with the 2.2.4 versions and everything returned as normal.
Here a sample form the 2.2.4 and from the 2.2.5 backend js-translation.json:
2.2.4:
{"Please enter {0} words or less.":"Inserisci {0} parole o meno.","Please enter at least {0} words.":"Inserisci almeno {0} parole.","Please enter between {0} and {1} words.":"Inserisci un numero di parole tra {0} e {1}.","Letters or punctuation only please":"Solo lettere o segni di punteggiatura","Letters, numbers, spaces or underscores only please":"Solo lettere, numeri, spazi e underscore","Letters only please":"Solo lettere","No white space please":"Nessuno spazio bianco","Your ZIP-code must be in the range 902xx-xxxx to 905-xx-xxxx":"Il tuo codice postale deve essere nell'intervallo 902xx-xxxx a 905-xx-xxxx","A positive or negative non-decimal number please":"Inserisci un numero positivo o negativo non decimale","The specified vehicle identification number (VIN) is invalid.":"Il numero di identificazione specificato del veicolo (VIN) non \u00e8 valido."
2.2.5
{"All ":"{{{All }}{{All }}{{All }}{{themeMagento/backend}}}","more":"{{{more}}{{more}}{{more}}{{themeMagento/backend}}}","Please enter {0} words or less.":"{{{Inserisci {0} parole o meno.}}{{Inserisci {0} parole o meno.}}{{Please enter {0} words or less.}}{{themeMagento/backend}}}","Please enter at least {0} words.":"{{{Inserisci almeno {0} parole.}}{{Inserisci almeno {0} parole.}}{{Please enter at least {0} words.}}{{themeMagento/backend}}}","Please enter between {0} and {1} words.":"{{{Inserisci un numero di parole tra {0} e {1}.}}{{Inserisci un numero di parole tra {0} e {1}.}}{{Please enter between {0} and {1} words.}}{{themeMagento/backend}}}","Letters or punctuation only please":"{{{Solo lettere o segni di punteggiatura}}{{Solo lettere o segni di punteggiatura}}{{Letters or punctuation only please}}{{themeMagento/backend}}}","Letters, numbers, spaces or underscores only please":"{{{Solo lettere, numeri, spazi e underscore}}{{Solo lettere, numeri, spazi e underscore}}{{Letters, numbers, spaces or underscores only please}}{{themeMagento/backend}}}","Letters only please":"{{{Solo lettere}}{{Solo lettere}}{{Letters only please}}{{themeMagento/backend}}}","No white space please":"{{{Nessuno spazio bianco}}{{Nessuno spazio bianco}}{{No white space please}}{{themeMagento/backend}}}","Your ZIP-code must be in the range 902xx-xxxx to 905-xx-xxxx":"{{{Il tuo codice postale deve essere nell'intervallo 902xx-xxxx a 905-xx-xxxx}}{{Il tuo codice postale deve essere nell'intervallo 902xx-xxxx a 905-xx-xxxx}}{{Your ZIP-code must be in the range 902xx-xxxx to 905-xx-xxxx}}{{themeMagento/backend}}}","A positive or negative non-decimal number please":"{{{Inserisci un numero positivo o negativo non decimale}}{{Inserisci un numero positivo o negativo non decimale}}{{A positive or negative non-decimal number please}}{{themeMagento/backend}}}","The specified vehicle identification number (VIN) is invalid.":"{{{Il numero di identificazione specificato del veicolo (VIN) non \u00e8 valido.}}{{Il numero di identificazione specificato del veicolo (VIN) non \u00e8 valido.}}{{The specified vehicle identification number (VIN) is invalid.}}
Thanks
P.S. The date fields in the catalog page now work as expected