Jump to content

Carrier localization - translate carrier name


Shin_P

Recommended Posts

We are in 2023 and it still doesn't seem possible to translate the name of the carrier.

So my "local pickup" remains "local pickup" in all the languages of the store. Pretty dumb eh

 

Do I really have to buy a 70€ module for this basic feature ?

 

Has anybody found a way to do it?

 

Thanks

  • Like 1
Link to comment
Share on other sites

Hello.
Do you really think it's that simple?
It's no problem to add a new column 'name' to ps_carrier_lang in the database.

Then override Carrier.php and remap the definitions.

But then the problem arises that many more modifications need to be made in several files, because they can only $carrier.name or $carrier->name or $carrier['name'], but they no longer specify for which language ID.

There are modules and prestashop sql definitions that only use select name from carrier, but no longer name from carrier_lang.

€70 is a lot, but adequate for the modifications that the programmer had to make.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...