Author Topic: New language phrases not shown in shop  (Read 6199 times)

Offline ermingut

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
New language phrases not shown in shop
« on: October 18, 2016, 09:29:30 AM »
I created new language thru Localisation || Languages and I loaded missing language data from default English language.

I checked language definitions for new language and there is translation present in new language. (like  button_add_to_cart --> "Add to Cart")

But when I change shop language to new language "Add to cart" button is shown as "button_add_to_cart". Also other translations are shown with key and not actual translation like:
"decimal_point" instead of ","
"text_home" instead of "home"

Text like "Unit price" is shown correctly. I cleared all cache.

Any suggestions?

Thanks.





Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5772
  • Karma: +274/-2
    • View Profile
Re: New language phrases not shown in shop
« Reply #1 on: October 18, 2016, 09:39:18 AM »
Hi.

Do you have any errors in the AbanteCart error log? Did you translate to your language in .xml files or in Admin panel?

Offline ermingut

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: New language phrases not shown in shop
« Reply #2 on: October 18, 2016, 09:44:11 AM »
Hi.

Error log is empty. I translated in Admin panel.

This is fresh installation V1.2.8.

Thank you.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5772
  • Karma: +274/-2
    • View Profile
Re: New language phrases not shown in shop
« Reply #3 on: October 18, 2016, 09:49:08 AM »
I translated in Admin panel.


When you add language definitions manually make sure to set correct Section/Block/Key

I sugget you to create new language as an extension
http://docs.abantecart.com/pages/localization/languages/create_language.html

Offline ermingut

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: New language phrases not shown in shop
« Reply #4 on: October 18, 2016, 10:52:00 AM »
I created new language in Admin like explained in second point from your linked page. I don't have XML extension

I also had report that numerous tables were updated / inserted, and also checked that  Section/Block/Key are correct - See image.



And English language is ok while Slovenian and German are not (showing: "button_add_to_cart" label).

Also data in looks ok:
select * from abi7_language_definitions where language_key="button_add_to_cart";
select * from abi7_languages;





Offline Joop

  • Newbie
  • *
  • Posts: 10
  • Karma: +6/-0
    • View Profile
Re: New language phrases not shown in shop
« Reply #5 on: October 18, 2016, 07:44:58 PM »
Hi.

Error log is empty. I translated in Admin panel.

This is fresh installation V1.2.8.

Thank you.

- Did you turn the [error log] on?
  Admin - Settings - System - Display Errors [ON]

- Did you translate in "single mode" ... with only one language at the time?
  (after translation, add with V-mark and then [SAVE]-button

- Did u use the "German extention" ?   This one is not complete (i'm using it too, but translate this to another language)

Goodluck


 

Powered by SMFPacks Social Login Mod