Bass ha scritto:Megadream ha scritto:con quella contib mi modifica solo i linguaggi english e dutch, come posso modificare il mio che e' in italiano?
thnks!
Fai una copia del file di linguaggio o copi le voci che vengono aggiunte nei files di lingua italiana e traduci
'iao
Sergio
BASS, PURTROPPO MI VA IN ERRORE !:(
Il file readme dice di fare queste operazioni
1. I added and changed several lines in the script header.php.
2. I provided these scripts to be used to adapt your own scripts. (use as needed).
catalog/includes/header.php
ATTENTION: Add the lines in these three scripts to your existing ones !!
catalog/includes/languages/dutch.php
catalog/includes/languages/english.php
catalog/includes/languages/german.php
catalog/includes/languages/dutch/images/buttons/button_login.gif
catalog/includes/languages/english/images/buttons/button_login.gif
catalog/includes/languages/german/images/buttons/button_login.gif
You can also read adds&changes_to_header (also included) to see what has been added and what has been changed in header.php.
3. I added and changed several lines to the english.php (dutch.php and german.php).
Please change the following: TO SHORTEN THINGS A BIT (YOU CAN ADAPT THESE TO SUITE YOUR OWN PREFERENCES)!!
dutch.php
change this:
define('TEXT_GREETING_PERSONAL', '<strong>Welkom terug</strong> <span class="greetUser">%s!</span> Wilt u de <a href="%s"><u>nieuwe artikelen</u></a> zien?');
into:
define('TEXT_GREETING_PERSONAL', '<span class="greetUser">Welkom terug %s</span>');
*******************
english.php
change this:
define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
into:
define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span>');
*******************
german.php
change this:
define('TEXT_GREETING_PERSONAL', 'Schön das Sie wieder da sind <span class="greetUser">%s!</span> Möchten Sie die <a href="%s"><u>neue Produkte</u></a> ansehen?');
into:
define('TEXT_GREETING_PERSONAL', '<span class="greetUser">Schön das Sie wieder da sind %s!</span>');
*******************
4. Please find and delete the following: in catalog/index.php
(near line 300) THIS IS INCLUDED IN THE LoginboxV5.4_in_header.
<tr>
<td class="main"><?php echo tep_customer_greeting(); ?></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
5. I have included (in header.php) the following:
<?php echo tep_customer_greeting(); ?> --> includes TEXT_GREETING_PERSONAL which greets client. (user)
6. I have changed the layout of this login box completely to make sure long names fit well.
7. NOTE: When Logged off ... it is a Login Box and when Logged in ... it is a My Account Box.
Go to:
http://avzwebdesign.nl/oscommerce/ to see it in action in the header.
You must first create an account. Your registration will be treated as fictional. The products purchased will not be delivered nor will the customer be billed. Have fun!
non ho capito in che linea devo inserire la stringa dello step 5.
I have included (in header.php) the following:
<?php echo tep_customer_greeting(); ?> --> includes TEXT_GREETING_PERSONAL which greets client. (user)
HELP!!!