Post by HAO » Sun Jun 29, 2025 1:09 pm

I am translating the language files in OpenCart 4.1.0.3, I found that 4.1.0.3 has a lot fewer strings than 4.0.0.0.

What happened?

4.0.0.0:

Code: Select all

<?php
// Heading
$_['heading_title']         = 'Payment Methods';

// Text
$_['text_account']          = 'Account';
$_['text_payment_method']   = 'Payment Method Entries';
$_['text_success']          = 'Your payment method has been successfully deleted';
$_['text_no_results']       = 'You have no payment methods in your account.';

// Column
$_['column_payment_method'] = 'Payment Method';
$_['column_type']           = 'Type';
$_['column_date_expire']    = 'Date Expires';
$_['column_action']         = 'Action';

// Error
$_['error_payment_method']  = 'Warning: Payment method could not be found!';
4.1.0.3:

Code: Select all

<?php
// Heading
$_['heading_title']   = 'Payment Methods';

// Text
$_['text_account']    = 'Account';
$_['text_no_results'] = 'You have no payment methods in your account.';

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by paulfeakins » Mon Jun 30, 2025 7:34 pm

Firstly, if you're talking about a specific file, you should give its path e.g.:

/admin/language/en-gb/extension/payment.php

Secondly, you can see the history of that file here:

https://github.com/opencart/opencart/co ... ayment.php

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: phpconsult and 2 guests