[FORWARD] and [UNSUBSCRIBE] are not translate in the message

PHPLIST version 3.0.12

Hallo I’m using the Italian version in the interface an all work ok
I’ve a problem with the place-holders [FORWARD] and [UNSUBSCRIBE] putting in my message:

Se pensi che questa Newsletter possa interessare qualcuno dei tuoi amici, inserisci l’email e fai click su [FORWARD]

and

Se non desidera più ricevere le nostre informazioni può cliccare sul bottone [UNSUBSCRIBE]

When the subscriber receive the message, this place-holders are translate in English and noti in Italian.

GUI interface: Italian
file: phplist/texts/italian.inc exist with

$strUnsubscribe = “Annulla l’iscrizione”;

$strClickHere = ‘Clicca qui’;

in the /phplist/admin/sendemaillib.php is set

$language_module = “italian.inc”;

I’ve look in sendemaillib.php file and the function function sendEmail

global $strThisLink,$strUnsubscribe,$PoweredByImage,$PoweredByText,$cached,$website,$counters;

The variable $strUnsubscribe are set with english text :frowning:

what can I do ?

Hello Scorpio26,

There is a setting for language in the config.php file:

# select the language module to use
# Look for <country>.inc files in the texts directory
# to find your language
# this is the language for the frontend pages. In the admin pages you can
# choose your language by using the dropdown in the pages.
$language_module = "english.inc";

You should set the value to (or add these lines if they are not there…):

# select the language module to use
# Look for <country>.inc files in the texts directory
# to find your language
# this is the language for the frontend pages. In the admin pages you can
# choose your language by using the dropdown in the pages.
$language_module = "italian.inc"; 

That will change the language ‘globally’, and you should not need to add that line to your sendemaillib.php.

Let me know how it works,
Dan

2 Likes