Forum - Chatter, folder Lang
Hello family, I have a question on Forums - Chatter, when I modify the content of the file Lang / alert.php, email.php, intro.php, messages.php in french. But it does not change in the display of my page, its still in English, thank you.
'words' => [ 'cancel' => 'Annuler', 'delete' => 'Supprimer', 'edit' => 'Modifier', 'yes' => 'Oui', 'no' => 'Non', 'minutes' => '1 minute| :count minutes', ],
If I modify the config / app.php in 'fr' it does not work, thank you
Hello, I received a change to the whole Lang/fr en file, and it works very well, thank you all.
example:
[ 'cancel' => 'Annuler', 'delete' => 'Supprimer', 'edit' => 'Modifier', 'yes' => 'Oui', 'no' => 'Non', 'minutes' => '1 minute| :count minutes', ], 'discussion' => [ 'new' => 'Nouvelle '.trans('chatter::intro.titles.discussion'), 'all' => 'Toutes les '.trans('chatter::intro.titles.discussions'), 'create' => 'Créer une '.trans('chatter::intro.titles.discussion'), 'posted_by' => 'Publié par', 'head_details' => 'Publié dans la Categorie', ], 'response' => [ 'confirm' => 'Êtes-vous sûr de vouloir supprimer cette réponse?', 'yes_confirm' => 'Oui Supprimer', 'no_confirm' => 'Non merci', 'submit' => 'Envoyer une réponse', 'update' => 'Mise à jour', ], 'editor' => [ 'title' => 'Le titre de la '.trans('chatter::intro.titles.discussion'), 'select' => 'Selectionner la categorie', 'tinymce_placeholder' => 'Taper votre '.trans('chatter::intro.titles.discussion').' ici...', 'select_color_text' => 'Sélectionnez une couleur pour la '.trans('chatter::intro.titles.discussion').' (optiomal)', ], 'email' => [ 'notify' => 'Avertissez-moi quand quelqu\'un répond', ], 'auth' => 'S\'il vous plait Connexion or S\'inscrire pour laisser une réponse.', ];You need to use a plugin or module for translation. It convert your language automatically. If you want to do it custom then you need to check this in github. You can take help from here.