Using French interface / activating french.inc

This issue was reported by Pascal Nivard via email:

Je me permets de vous solliciter, et vous prie de bien vouloir m’en excuser.

Voici ma difficulté depuis plus d’une semaine :

je suis nouvel utilisateur de phplist, que j’ai téléchargé en version 3.3.1
installation sur Hostinger : pas de problème
premier démarrage sans problème lors de l’installation
mais tout est en anglais (cf config / configurer PHPLIST)

j’ai donc réussi (grâce aux forums) à paramétrer le backend en français, et
cela fonctionne bien. (rajouté $default_system_language = ‘fr’; dans le
config.php)

Mais les textes du frontend (pour les utilisateurs) restent désespérément
en anglais. j’ai donc rajouté : $language_module = ‘french.inc’**; juste
avant dans le config, mais rien n’y fait !!!

j’ai beau tenter de nombreux essais :
$language_module = ‘english.inc’; en remplaçant le contenu du fichier
english.inc par french.inc

télécharger différentes traductions, essayé d’autres country.inc,
J’ai même tenté de renommer en dur english.inc en french.inc : toujours
rien !
de retrograder la version php du serveur hostinger,
et plein d’autres choses pas bien dans les programmes, dans
defaultconfig.php, …
(mais j’ai tout effacé, y compris la base de données et tout réinstallé
proprement le produit
et changé de navigateur (chrome,ie, firefox, …)

je n’arrive toujours pas à paramétrer phplist pour qu’il utilise french.inc
dans le frontend
[image: *:-/ Perplexe][image: *8-| Les yeux sur roulement à billes] [image:
*:frowning: Tristesse][image: *~X( Ch’sais pu quoi faire][image: *>:) Démon][image:
*:(( En pleurs]

comment puis-je faire pour activer le fichier french.inc ??
alors que tout le système semble bien opérationnel :bomb: mais en anglais
Merci de votre aide
cordialement

Hi Pascal, you should not need to change the french.inc file directly; I’m not sure why the interface is not changing to French correctly. Have you followed the basic procedure for changing and updating the interface language, as demonstrated here?:

Change the language: https://youtu.be/BhVPy5y8QOQ
Update the translation files: https://youtu.be/eMhp8RiEZY0

merci beaucoup
j’ai bien suivi cette procédure pour le backend, all is ok
but
the frontend ( for the readers of the newsletter, to subscribe, unsubscribe, tranfer a letter, …) is not transdlated (french.inc)
and, inside the file french.inc, I see the translation ok for all messages
???

That is strange - translations of the public pages of phpList (e.g. subscribe and preferences pages) are handled separately, as described here: https://resources.phplist.com/translations/start#public-facing_pages

These files are all included in the standard download of phpList from Sourceforge. If you use a development version of phpList from GitHub then these files are not included and must be cloned or downloaded from the dedicated GitHub repository documented at the above link.

Does that help?

yes, itisstrange/
example in english.inc : line 137 :$strForwardFooter = 'This message has been forwarded to you by [FORWARDEDBY].
in french.inc line 131: $strForwardFooter = 'Ce message vous a été transféré par [FORWARDEDBY].

I suggest you to try to change to other language than english, and to look to config/parameters :Default footer for sending a campaign
it never changes !!!
try to change to french, or dutch, or German, or Japenese (smile)
and teel me more please

@scapinval Adding the following to the config file does change the font-end language successfully:

$language_module = "french.inc";

Is the following string the only one that you have a problem with, or are all strings not being translated?:

This message has been forwarded to you by [FORWARDEDBY].

no,all strings are well translated in french.inc, but none is translated in the messages sent to the users

@scapinval @samtuke The texts that go into the various emails to the subscriber are specified on the subscribe page under Transaction messages. I guess that in the past those were obtained from the language file, but were then moved to be more easily changed. But those are in English, there doesn’t seem to be a way to have the text in the chosen language.

Other language file entries are now specified on the Settings page, such as the forward footer.

For clarity, unused entries in the language file should be removed. For example, the language file entry $strForwardFooter is never actually used within the phplist code.

thank you
But I found it in line 137 of the file admin\ defaultFrontendTexts.php

what is this file for ?