Post by leatherboy » Tue Dec 24, 2024 7:17 pm

Hi.
I am using OC 3.0.4.0.
This issue with the translation of the VAT rate still exists !!!
Is there any working solution?

I'm refering to this topic here: viewtopic.php?p=703833

Newbie

Posts

Joined
Fri Feb 12, 2016 2:32 am

Post by nonnedelectari » Wed Dec 25, 2024 3:31 pm

leatherboy wrote:
Tue Dec 24, 2024 7:17 pm
Hi.
I am using OC 3.0.4.0.
This issue with the translation of the VAT rate still exists !!!
Is there any working solution?

I'm refering to this topic here: viewtopic.php?p=703833
Tax names and titles are not set in language files but in the tables and those have no language id and are thus the same for all languages.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by leatherboy » Fri Dec 27, 2024 6:38 pm

I understand that.
Do you think it is right to have a Greek word in the English or French cart and vice versa?
And do you think that it is so difficult to solve this issue after so many years?
I think that it is unacceptable.

Newbie

Posts

Joined
Fri Feb 12, 2016 2:32 am

Post by nonnedelectari » Fri Dec 27, 2024 10:26 pm

leatherboy wrote:
Fri Dec 27, 2024 6:38 pm
I understand that.
Do you think it is right to have a Greek word in the English or French cart and vice versa?
And do you think that it is so difficult to solve this issue after so many years?
I think that it is unacceptable.
"I think that it is unacceptable.", and then what?

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by leatherboy » Fri Dec 27, 2024 11:46 pm

then nothing!!!
I dοn't and you probably dοn't develop OC.
But if the developers who support OpenCart consider it a multilingual program then they should fix this problem as well as some others related to translations which are however solved in indirect ways.
if for anything, we accept the "then what?" for an answer, nothing would develop.

Newbie

Posts

Joined
Fri Feb 12, 2016 2:32 am

Post by by mona » Sat Dec 28, 2024 1:06 am

@leatherboy
Are you a shop owner or a developer?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by nonnedelectari » Sat Dec 28, 2024 4:56 pm

leatherboy wrote:
Fri Dec 27, 2024 11:46 pm
then nothing!!!
I dοn't and you probably dοn't develop OC.
But if the developers who support OpenCart consider it a multilingual program then they should fix this problem as well as some others related to translations which are however solved in indirect ways.
if for anything, we accept the "then what?" for an answer, nothing would develop.
"I dοn't and you probably dοn't develop OC. ", well, I do, a little...

Still, while I agree that multi-lingual support in OC has always been an afterthought and not consistently implemented in all corners, dealing with a "free of charge" software, when things are not as they should have been, the term "unacceptable" is rather unacceptable, that term should be reserved for when you actually paid for stuff.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by leatherboy » Mon Dec 30, 2024 9:11 pm

@by mona
A developer and computer shop owner since 1991.

@nonnedelectari
I understand and accept what the free of charge means.
OpenCart is not a program that has been abandoned. It is a program that evolves and releases new versions. This means that those involved in this development and those of us who support it by using it for the online stores we build and buy add-ons from Marketplace, believe in it. Otherwise we would be dealing with WooCommerce or any other platforms. So when you move on and go to new versions and you are interested in having a competitive program, you cannot let unsolved simple and basic issues that have been known for many years. The same issue has been reported since at least 2017!!! That's why I wrote the unacceptable.
The OpenCart community is not only those who build it but also those who support it in many ways. Otherwise it would not have existed for so many years.

Happy New Year

Newbie

Posts

Joined
Fri Feb 12, 2016 2:32 am

Post by paulfeakins » Tue Dec 31, 2024 7:15 pm

leatherboy wrote:
Mon Dec 30, 2024 9:11 pm
The same issue has been reported since at least 2017!!! That's why I wrote the unacceptable.
That doesn't sound good, but you could learn how to fix it and submit the code to OpenCart ;)

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

Post by JNeuhoff » Tue Dec 31, 2024 7:35 pm

The solution would be a modification which splits up the current 'oc_tax_rate' DB table into 2 tables:

oc_tax_rate
tax_rate_id
geo_zone_id
rate
type
date_added
date_modified

oc_tax_rate_description
tax_rate_id
language_id
name

And then modify any controller or model or library class using the tax rate.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by nonnedelectari » Tue Dec 31, 2024 7:58 pm

JNeuhoff wrote:
Tue Dec 31, 2024 7:35 pm
The solution would be a modification which splits up the current 'oc_tax_rate' DB table into 2 tables:

oc_tax_rate
tax_rate_id
geo_zone_id
rate
type
date_added
date_modified

oc_tax_rate_description
tax_rate_id
language_id
name

And then modify any controller or model or library class using the tax rate.
There are several tables which lack multilingual support, like geo_zones for shipping.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by D3MO » Sun Jan 05, 2025 9:08 pm

No need for extra tables if you want just translate the tax names. it can be translated from the tax function itself tax_name_eng = tax_name_fr (yes it will be hardcoded but hoe many taxes you may have:)? and it will solve your issue

Opencart Expert | voldemaras@gmail.com

Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by nonnedelectari » Mon Jan 06, 2025 12:22 pm

D3MO wrote:
Sun Jan 05, 2025 9:08 pm
No need for extra tables if you want just translate the tax names. it can be translated from the tax function itself tax_name_eng = tax_name_fr (yes it will be hardcoded but hoe many taxes you may have:)? and it will solve your issue
Hardcode languages to the rescue.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by OSWorX » Mon Jan 06, 2025 4:21 pm

D3MO wrote:
Sun Jan 05, 2025 9:08 pm
No need for extra tables if you want just translate the tax names. it can be translated from the tax function itself tax_name_eng = tax_name_fr (yes it will be hardcoded but hoe many taxes you may have:)? and it will solve your issue
.. but how many taxes you may have ..
Simply think of a webshop selling digital goods.
Only for the EU you will need at least currently 27 ..

And every tax name can be defined correctly when defining the tax rates.
Finally I do not really see a need to translate anything, because USt. is USt., MwSt. is MwSt., VAT is VAT, and PVA is PVA and so on ...

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by D3MO » Mon Jan 06, 2025 4:56 pm

OSWorX wrote:
Mon Jan 06, 2025 4:21 pm
D3MO wrote:
Sun Jan 05, 2025 9:08 pm
No need for extra tables if you want just translate the tax names. it can be translated from the tax function itself tax_name_eng = tax_name_fr (yes it will be hardcoded but hoe many taxes you may have:)? and it will solve your issue
.. but how many taxes you may have ..
Simply think of a webshop selling digital goods.
Only for the EU you will need at least currently 27 ..

And every tax name can be defined correctly when defining the tax rates.
Finally I do not really see a need to translate anything, because USt. is USt., MwSt. is MwSt., VAT is VAT, and PVA is PVA and so on ...
Nop VAT is in my country PVM:) and if it shows wat it is obviosly english not translated to language. not all parts of the world using english as native:)

Opencart Expert | voldemaras@gmail.com

Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by OSWorX » Mon Jan 06, 2025 9:56 pm

D3MO wrote:
Mon Jan 06, 2025 4:56 pm
Nop VAT is in my country PVM ..
Whatever the local tax is called/named, it will have always the same name - regardless which language is used.
If it's PVM, then it will PVM.
If you're in Austria and Germany, it's called USt., in Switzerland they call it MwSt. .. and so on ..

My tax authority will refuse every invoice if I do not write the correct tax name on it.
So, translating is for the .. fishes .. (as we say it here .. means useless).

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 52 guests