Post by Rac74 » Fri Jan 27, 2023 4:06 pm

Hi, V = OC 3.0.3.8 site = www.rdbeco.com
I'm trying to change the text in account/account.php but it's not working.
ex. "$_['text_edit'] = 'Edit your account information';" To $_['text_edit'] = 'Editati informatiile contului ';" This is not working
but
ex. "$_['text_wishlist'] = 'Modify your wish list';" to "$_['text_wishlist'] = 'Modificati lista de favorite';" Works perfectly

Can i get some help with this issue i tried to use language editor still nothing!
Please drop any ideas AND I WILL TRY THEM!
Last edited by Rac74 on Fri Jan 27, 2023 7:58 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Jan 16, 2023 7:25 pm

Post by halfhope » Fri Jan 27, 2023 6:59 pm

Hi!

text_edit
catalog/language/en-gb/account/account.php
catalog/language/en-gb/account/address.php
catalog/language/en-gb/account/edit.php
catalog/language/en-gb/extension/module/account.php
catalog/language/en-gb/information/sitemap.php

My extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by Rac74 » Fri Jan 27, 2023 7:50 pm

halfhope wrote:
Fri Jan 27, 2023 6:59 pm
Hi!

text_edit
catalog/language/en-gb/account/account.php
catalog/language/en-gb/account/address.php
catalog/language/en-gb/account/edit.php
catalog/language/en-gb/extension/module/account.php
catalog/language/en-gb/information/sitemap.php
This is exactly what i did and it's not working.
Any other idea?

Newbie

Posts

Joined
Mon Jan 16, 2023 7:25 pm

Post by SohBH » Fri Jan 27, 2023 8:02 pm

Does your template/account/account.twig
have {{ text_edit }}
?

Business Web Development | Content Creation | Analytics and Reporting | SEO


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia

Post by Rac74 » Fri Jan 27, 2023 8:05 pm

SohBH wrote:
Fri Jan 27, 2023 8:02 pm
Does your template/account/account.twig
have {{ text_edit }}
?
Hi,
Yes it does. I checked this :-\
<li><a href="{{ edit }}">{{ text_edit }}</a></li>
<li><a href="{{ password }}">{{ text_password }}</a></li>
<li><a href="{{ address }}">{{ text_address }}</a></li>
<li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>

Newbie

Posts

Joined
Mon Jan 16, 2023 7:25 pm

Post by halfhope » Fri Jan 27, 2023 8:09 pm

Have the mods been updated? If no - refresh modifications.

Also try to reset opcache cache. In your common index.php paste:

Code: Select all

opcache_reset();

My extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by Rac74 » Fri Jan 27, 2023 8:18 pm

halfhope wrote:
Fri Jan 27, 2023 8:09 pm
Have the mods been updated? If no - refresh modifications.

Also try to reset opcache cache. In your common index.php paste:

Code: Select all

opcache_reset();
Yes on mods.
Do you mean the main index.php that is on my site directory? can you be more exact with the path? "New to all of this"

Newbie

Posts

Joined
Mon Jan 16, 2023 7:25 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Rac74 » Fri Jan 27, 2023 8:32 pm

xxvirusxx wrote:
Fri Jan 27, 2023 8:24 pm
Test with this language pack
https://www.opencart.com/index.php?rout ... n_id=43922
I did the edit directly in the en-gb not with a language pack

Newbie

Posts

Joined
Mon Jan 16, 2023 7:25 pm

Post by SohBH » Fri Jan 27, 2023 8:45 pm

What Mods are you using?
1) Purge Litespeed Cache / page cache
2) Refresh Modification cache

Business Web Development | Content Creation | Analytics and Reporting | SEO


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia
Who is online

Users browsing this forum: sidclel and 84 guests