Post by elcopdoo » Sun Jun 07, 2015 10:00 pm

Button_confirm is not translating in checkout-confirm.
We have croatian language activated, and I have checked files:
/catalog/language/croatia/croatia.php
and all is ok, $_['button_confirm'] and $_['text_loading'] is present.

Can anyone help me with this?
Checkout_confirm_button.png

Checkout_confirm_button.png (5.41 KiB) Viewed 1564 times

Checkout_confirm_button_clicked.png

Checkout_confirm_button_clicked.png (5.26 KiB) Viewed 1564 times


New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by D3MO » Mon Jun 08, 2015 5:06 am

in oc 2.0.2.x it is loaded from default language file earlier it were default.php in all languages now it is changed to language_name.php

for example
that is catalog/language/english/english.php


$_['button_confirm'] = 'Confirm Order';

$_['text_loading'] = 'Loading...';

so in your croatian translation if you have default.php file in your language folder rename it to croatian.php (if the language name is croatioan)

and translate these variables

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 elcopdoo » Mon Jun 08, 2015 5:47 am

I clearly stated in my post that I have
/catalog/language/croatia/croatia.php

Everything is translating well except button_confirm in checkout-confirm.
I cannot find source of this behavior...

I have double checked language files, they are ok...
So it must be something with controller or templates.

It even don't work with english lang.

Anyone found similar behavior?

BR,
Denis.

New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by D3MO » Mon Jun 08, 2015 7:24 am

have you reloaded your cache (if you have ocmods on your website) after translating it?

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 elcopdoo » Mon Jun 08, 2015 2:50 pm

I tried everything, refresh cache, delete all cache, delete all cookies,
issue remains.

This is happening only on #collapse-checkout-confirm.
Is this a OC 2.0.3.1 bug?

New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by viethemes » Mon Jun 08, 2015 8:31 pm

elcopdoo wrote:I tried everything, refresh cache, delete all cache, delete all cookies,
issue remains.

This is happening only on #collapse-checkout-confirm.
Is this a OC 2.0.3.1 bug?
Could you send me a admin account and a FTP account via PM, so I can take a look at the problem closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by elcopdoo » Thu Jun 11, 2015 12:59 am

Thank You viethemes, but I would like to resolve this myself, need only hint where to look.
Anybody can direct me where button_confirm caption is processsed?

BR,
Denis.

New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by IP_CAM » Thu Jun 11, 2015 11:06 am

D3MO already told you, further up, on how to do it, there is nothing more to say.
Especially not, if noone even has a chance to take a look. It would be so easy, to
add the CodeManager, to get a problem solved.
just thinking loud...
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by elcopdoo » Thu Jun 11, 2015 10:45 pm

Thank You D3MO and IP_CAM, but this is not case here, You didn't understand this:

The problem is clearly with OC and not with the translation, I already knew all this stuf about translate files(as D3MO suggested).
If I setup back to en language problem remains, button_confirm caption is presented as 'button_confirm' and should be
'confirm'.
Anyway, I'll try to fix myself and post the solution.
If somebody fix it for me, then I didn't learn anything, did I?...

BR,
Denis.

New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by elcopdoo » Fri Jun 12, 2015 5:50 am

I finally found source of this,
it was vqmod file pdf_invoice_pro.xml ;

I disabled xml and now button caption is working again.

BR,
Denis.

New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by OSWorX » Fri Jun 12, 2015 7:48 pm

elcopdoo wrote:I finally found source of this,
it was vqmod file pdf_invoice_pro.xml ;

I disabled xml and now button caption is working again.

BR,
Denis.
Fine and wonderful that it is now working for you ..

But (!) I cannot see that you mentioned in your first post that you are using VQmod and some extensions!
The more you answering:
Thank You D3MO and IP_CAM, but this is not case here, You didn't understand this:

The problem is clearly with OC ..
I would say, you have to apologize yourself by these 2
And your problem is yours, not by OpenCart!

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 elcopdoo » Fri Jun 12, 2015 11:53 pm

My apologies to D3MO and IP_CAM:)

New member

Posts

Joined
Sun Oct 12, 2014 9:13 pm

Post by IP_CAM » Sat Jun 13, 2015 12:05 am

ich klick Solche einfach weg, für gut, es macht einfach keinen SInn, sich darüber aufzuregen.

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 15 guests