Italian Language Pack ver.1.26

Language files
Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Italian Language Pack ver.1.26

Post by Oistacus » Mon Oct 10, 2011 12:42 pm

Hi ,

I upload italian_zip .Now you can change the language in your store also in Italian

Install instructions:
1. Download the file and unzip it.
2. Upload the upload/admin/language/italian directory into your /admin/language/ directory, next to the english.
3. Upload the upload/catalog/language/italian directory into your /catalog/language/ directory, next to the english.
4. Go to Admin -> Configuration -> Localization -> Language and click Insert.
5. Fill in the form:

Code: Select all

Language Name: Italian
    Code: it
    Flag Image: it.png
    Directory: italian
    Main Filename: italian.php
    Sort Order: 2
6. Save it.
Attachments
Italian_pack_1_2_6.zip
I hope this work fine . Tell me if there are bugs
(147.99 KiB) Downloaded 521 times
Last edited by Oistacus on Mon Oct 17, 2011 1:27 pm, edited 3 times in total.

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Italian Language Pack ver.1.26

Post by leo » Mon Oct 10, 2011 12:53 pm

Thank you for supporting us with this translation!
Good job!

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Italian Language Pack ver.1.26

Post by Oistacus » Tue Oct 11, 2011 4:50 am

Hi Leo,
I should like change the format of date .
I change in italian.php format date short and data format long, but i dont know if is correct . I prefer to have this format :
dd mm yy . Can you tell me what is the format that I set in italian.php ?
Actually i set " F j Y " for short and " l F ds Y " for long format . I think it is wrong .
Ois

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Italian Language Pack ver.1.26

Post by Brent » Tue Oct 11, 2011 5:40 am

Short date should be fine.
The long date,
" l F ds Y " for long format
should probably be:
" l F d Y "
The S is the ordinal suffix, which is English abbreviations like st for first and nd for second, which probably have no meaningful value in other languages.

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Italian Language Pack ver.1.26

Post by Oistacus » Tue Oct 11, 2011 10:10 am

This is the code to format the date in PHP

•d - The day of the month (from 01 to 31)
•D - A textual representation of a day (three letters)
•j - The day of the month without leading zeros (1 to 31)
•l (lowercase 'L') - A full textual representation of a day
•N - The ISO-8601 numeric representation of a day (1 for Monday through 7 for Sunday)
•S - The English ordinal suffix for the day of the month (2 characters st, nd, rd or th. Works well with j)
•w - A numeric representation of the day (0 for Sunday through 6 for Saturday)
•z - The day of the year (from 0 through 365)
•W - The ISO-8601 week number of year (weeks starting on Monday)
•F - A full textual representation of a month (January through December)
•m - A numeric representation of a month (from 01 to 12)
•M - A short textual representation of a month (three letters)
•n - A numeric representation of a month, without leading zeros (1 to 12)
•t - The number of days in the given month
•L - Whether it's a leap year (1 if it is a leap year, 0 otherwise)
•o - The ISO-8601 year number
•Y - A four digit representation of a year
•y - A two digit representation of a year
•a - Lowercase am or pm
•A - Uppercase AM or PM
•B - Swatch Internet time (000 to 999)
•g - 12-hour format of an hour (1 to 12)
•G - 24-hour format of an hour (0 to 23)
•h - 12-hour format of an hour (01 to 12)
•H - 24-hour format of an hour (00 to 23)
•i - Minutes with leading zeros (00 to 59)
•s - Seconds, with leading zeros (00 to 59)
•e - The timezone identifier (Examples: UTC, Atlantic/Azores)
•I (capital i) - Whether the date is in daylights savings time (1 if Daylight Savings Time, 0 otherwise)
•O - Difference to Greenwich time (GMT) in hours (Example: +0100)
•T - Timezone setting of the PHP machine (Examples: EST, MDT)
•Z - Timezone offset in seconds. The offset west of UTC is negative, and the offset east of UTC is positive (-43200 to 43200)
•c - The ISO-8601 date (e.g. 2004-02-12T15:19:21+00:00)
•r - The RFC 2822 formatted date (e.g. Thu, 21 Dec 2000 16:01:07 +0200)
•U - The seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)

Example
<?php
echo("Result with date():<br />");
echo(date("l") . "<br />");
echo(date("l dS \of F Y h:i:s A") . "<br />");
echo("Oct 3,1975 was on a ".date("l", mktime(0,0,0,10,3,1975))."<br />");
echo(date(DATE_RFC822) . "<br />");
echo(date(DATE_ATOM,mktime(0,0,0,10,3,1975)) . "<br /><br />");

echo("Result with gmdate():<br />");
echo(gmdate("l") . "<br />");
echo(gmdate("l dS \of F Y h:i:s A") . "<br />");
echo("Oct 3,1975 was on a ".gmdate("l", mktime(0,0,0,10,3,1975))."<br />");
echo(gmdate(DATE_RFC822) . "<br />");
echo(gmdate(DATE_ATOM,mktime(0,0,0,10,3,1975)) . "<br />");
?>

The output of the code above could be something like this:

Result with date():
Tuesday
Tuesday 24th of January 2006 02:41:22 PM
Oct 3,1975 was on a Friday
Tue, 24 Jan 2006 14:41:22 CET
1975-10-03T00:00:00+0100

Result with gmdate():
Tuesday
Tuesday 24th of January 2006 01:41:22 PM
Oct 3,1975 was on a Thursday
Tue, 24 Jan 2006 13:41:22 GMT
1975-10-02T23:00:00+0000

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Italian Language Pack ver.1.26

Post by Oistacus » Tue Oct 11, 2011 4:04 pm

When I change the language , the product title doesn't change . Has it a bug or I forgotten something ?
How can I change the format of date ? Because I have changed in the file PHP the format , but the date is always Month , Day , Year in a footer right .

Ois

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Italian Language Pack ver.1.26

Post by Brent » Tue Oct 11, 2011 4:39 pm

In version 1.2.6, the product detail was hard coded. It is fixed in the next release which should be very soon.
The date in the footer is in the footer code. I will change that to use the language format for the upcoming version.

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Italian Language Pack ver.1.26

Post by Oistacus » Wed Oct 12, 2011 10:26 am

Brent wrote:In version 1.2.6, the product detail was hard coded. It is fixed in the next release which should be very soon.
Hi Brent ,
if you like , I can help you to translate new file of the new version in Italian language .

Ois

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Italian Language Pack ver.1.26

Post by leo » Wed Oct 12, 2011 12:47 pm

Thanks!
As soon as I am back from my business trip I will finalize watermark mod, so I think new release comes soon.

By the way, we have added your Italian translation to the installer. Check the SVN.

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Italian Language Pack ver.1.26

Post by Oistacus » Wed Oct 12, 2011 1:21 pm

Yesterday i have uploaded a new file zipped , because there was in the checkout_success some errors and the traslate maked errors . Now it works fine .Please see new file uploaded
Ois

Post Reply