Page 1 of 1
Translated text does not show at the front
Posted: Sun Oct 27, 2019 12:00 am
by Mr.Pikatchu
(OC3.0.2 default)
Hi,
I'm trying to translate a text in the catalog/language/fr-FR/checkout/checkout.php file but the translated text does not show in the front. I've cleared all caches (browser cache, theme cache, sass cache, mod cache). Could it have something to do with the theme editor, because I used it before I knew I shouldn't. I'm a not a developer but I've read it might have something to do with the database, but unfortunately I have no idea what to change in my database.
Your help would be welcome.
Re: Translated text does not show at the front
Posted: Sun Oct 27, 2019 12:08 am
by letxobnav
Cannot be the theme editor as that only applies to twig files.
Possibly the use of the language editor.
or perhaps the text is taken from another language file, hard to say from here.
Re: Translated text does not show at the front
Posted: Sun Oct 27, 2019 12:20 am
by Mr.Pikatchu
letxobnav wrote: ↑Sun Oct 27, 2019 12:08 am
Cannot be the theme editor as that only applies to twig files.
Possibly the use of the language editor.
or perhaps the text is taken from another language file, hard to say from here.
I don't use a language editor I translate direct via ftp and the text is taken also from French.
Re: Translated text does not show at the front
Posted: Sun Oct 27, 2019 12:24 am
by letxobnav
I'm sure it is all French but which page is the text supposed to be on?
Re: Translated text does not show at the front
Posted: Sun Oct 27, 2019 12:41 am
by Mr.Pikatchu
letxobnav wrote: ↑Sun Oct 27, 2019 12:24 am
I'm sure it is all French but which page is the text supposed to be on?
In the checkout page. I need to change it because there is a SyntaxError: Unexpected identifier in this language for this sentence: <h4 class="modal-title">Sélectionnez la méthode d
'expédition préférée à utiliser pour cette commande.</h4>'; I looked everywhere else with a program who searches for words in multiple text files and the checkout file was the only one with the exact word match.
Re: Translated text does not show at the front
Posted: Sun Oct 27, 2019 6:50 am
by letxobnav
try catalog/language/fr-FR/extension/total/shipping.php
$_['text_shipping_method'] = 'Select the preferred shipping method to use on this order.';
Re: Translated text does not show at the front
Posted: Sun Oct 27, 2019 4:15 pm
by Mr.Pikatchu
letxobnav wrote: ↑Sun Oct 27, 2019 6:50 am
try catalog/language/fr-FR/extension/total/shipping.php
$_['text_shipping_method'] = 'Select the preferred shipping method to use on this order.';
It worked thank you very much, I looked for "méthode d'expédition" instead of "méthode d\'expédition" that's why I didn't find it
Thanks!
