Italian language Time.php
Closed this issue · 3 comments
danilort commented
CodeIngiter 4.1.5
Translations 4.1.5
I found a translation error for the IT language (Italian).
Inside the file 'system\Language\it\Time.php' (ITALIAN) there are some voices in English.
ERRATA:
'years' => '{0, plural, =1{# year} other{# years}}',
'months' => '{0, plural, =1{# month} other{# months}}',
'weeks' => '{0, plural, =1{# week} other{# weeks}}',
'days' => '{0, plural, =1{# day} other{# days}}',
'hours' => '{0, plural, =1{# hour} other{# hours}}',
'minutes' => '{0, plural, =1{# minute} other{# minutes}}',
'seconds' => '{0, plural, =1{# second} other{# seconds}}',
CORRIGE:
'years' => '{0, plural, =1{# anno} other{# anni}}',
'months' => '{0, plural, =1{# mese} other{# mesi}}',
'weeks' => '{0, plural, =1{# settimana} other{# settimane}}',
'days' => '{0, plural, =1{# giorno} other{# giorni}}',
'hours' => '{0, plural, =1{# ora} other{# ore}}',
'minutes' => '{0, plural, =1{# minuto} other{# minuti}}',
'seconds' => '{0, plural, =1{# secondo} other{# secondi}}',
TO TEST:
echo "<br>" . lang('Time.years', [1], 'en');
echo "<br>" . lang('Time.years', [9], 'en');
echo "<br>" . lang('Time.years', [1], 'it');
echo "<br>" . lang('Time.years', [9], 'it');
Output BEFORE correction:
1 year
9 years
1 year
9 years
Output AFTER correction:
1 year
9 years
1 anno
9 anni
Greetings
Danilo
paulbalandan commented
@danilort thank you for the information. Please submit a PR so that we can correct the errors. Thanks.
danilort commented
PR = danilort#1
danilort commented
I opened PR