Post by Mr.Pikatchu » Sun Oct 27, 2019 12:00 am

(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.

Newbie

Posts

Joined
Tue Jul 03, 2018 10:32 pm

Post by letxobnav » 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.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Mr.Pikatchu » Sun Oct 27, 2019 12:20 am

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.

Newbie

Posts

Joined
Tue Jul 03, 2018 10:32 pm

Post by letxobnav » Sun Oct 27, 2019 12:24 am

I'm sure it is all French but which page is the text supposed to be on?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Mr.Pikatchu » Sun Oct 27, 2019 12:41 am

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.

Newbie

Posts

Joined
Tue Jul 03, 2018 10:32 pm

Post by letxobnav » 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.';

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by Mr.Pikatchu » Sun Oct 27, 2019 4:15 pm

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! ;)

Newbie

Posts

Joined
Tue Jul 03, 2018 10:32 pm
Who is online

Users browsing this forum: Bing [Bot], Shiftcom, SohBH and 422 guests