News:

AbanteCart v1.4.2 is released.

Main Menu

New language phrases not shown in shop

Started by ermingut, October 18, 2016, 09:29:30 AM

Previous topic - Next topic

ermingut

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.





Basara

Hi.

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

ermingut

Hi.

Error log is empty. I translated in Admin panel.

This is fresh installation V1.2.8.

Thank you.

Basara

Quote from: ermingut on October 18, 2016, 09:44:11 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

ermingut

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;





Joop

Quote from: ermingut 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.

- 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


Forum Rules Code of conduct
AbanteCart.com 2010 -