Post by beerlim » Tue Oct 24, 2017 1:04 pm

I installed German language.
I want to translate a couple of words differently.
So per instruction I added 2 entries under Design - Language Editor (see screenshot)
When I visit now the returns page (link in the footer)
The Text is still the same (2nd screenshot)

Attachments

Retouren.jpg

Retouren.jpg (19.85 KiB) Viewed 357 times

LanguageEditor.jpg

LanguageEditor.jpg (36.76 KiB) Viewed 357 times


/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by IP_CAM » Tue Oct 24, 2017 8:40 pm

Did you make an OcMod and TWIG Cache reset first , before testing ?
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

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

Post by beerlim » Tue Oct 24, 2017 9:05 pm

Just a little more info on how to do that would be great.

/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by IP_CAM » Wed Oct 25, 2017 11:41 am

how should I know, I don't use em... :laugh:
---
Image

Attachments

opencart_cache_cleaning_systems.jpg

opencart_cache_cleaning_systems.jpg (99.06 KiB) Viewed 306 times


Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

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

Post by beerlim » Wed Oct 25, 2017 12:54 pm

Did all 4 suggestions, no changes the words are still the same as original in Retouren (Returns) for the translated words.
Bug ?

/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by beerlim » Fri Oct 27, 2017 7:15 pm

Language edit for extension-payment-cheque is working fine, so it is related to returns.

/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by agm » Fri Oct 27, 2017 7:45 pm

I have so many trouble oc3 but admin not accept my posty couple of hour. I don't have nothing zero help from open cart support and from forum . Thank you very much Opencart company
Onencart 3 is one big Bug

agm
Newbie

Posts

Joined
Fri Oct 27, 2017 6:32 pm

Post by beerlim » Fri Oct 27, 2017 10:38 pm

I tried the heading_title and that worked in account/return but not text_date_ordered.
Records look fine in the DB table translation, but the translation in the view (display) is not working for these 2 fields for sure.

Attachments

translation.jpg

translation.jpg (32.73 KiB) Viewed 242 times


/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by IP_CAM » Sat Oct 28, 2017 12:50 am

Well, in such a case, I usually 'locally' compare the english directory content with a
translated directory content, by searching for such a WORD, and a Variable Name.
Then, one will find out, if this WORD Variable Line possible only exists in an english File,
but not in the same translated Language File as well.

And in some cases, Code Contributors enter plain WORDS, in some native
language, and such Source would then have to be changed, to make it
'multinationally' working, kind of.. :D
'text' => $this->language->get('text_home'),
---
if ($width!="0.00000000") { ?><span>Ширина:</span>
---
But you could also try to add such Lines into the main Language File, in some cases,
they then will work.

Good Luck! ;)
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

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

Post by beerlim » Sat Oct 28, 2017 3:07 am

I am not following. Can you give me a little more information?
what is the path of the 2 files you are comparing?

/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by beerlim » Sat Oct 28, 2017 1:07 pm

Well this is what I found not sure if that is what you are saying.
/catalog/language/en-gb/account/return.php
$_['text_order_id'] = 'Order ID:';
$_['text_date_ordered'] = 'Order Date:';
/catalog/language/de-DE/account/return.php
$_['text_order_id'] = 'Auftragsnummer';
$_['text_date_ordered'] = 'Auftragsdatum';
This is being displayed fine. Problem is the language-editor is not overwriting with for those and possible others.

/Marcel


New member

Posts

Joined
Tue May 23, 2017 5:39 pm

Post by straightlight » Tue Nov 07, 2017 7:56 pm

This solution should fix the problem: viewtopic.php?f=201&t=187286#p702006

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: carpin and 6 guests