AbanteCart Community

AbanteCart Development => Extensions and Add-Ons => Languages and Zones => Topic started by: museumdw on May 23, 2016, 09:10:29 AM

Title: problem new language definition
Post by: museumdw on May 23, 2016, 09:10:29 AM
Hello, i translated the english language into Dutch language. However, after installing and activating, some elements are translated and some are not translated, but are given the 'key' name. E.g. in the screenshot: Totaal Bestellingen is correct translated, but text_content has been given the key name tekst_content. Does anyone sounds this familiar ? Thanks in advance. The settings are in the file home.xml i attached.
Title: Re: problem new language definition
Post by: Basara on May 23, 2016, 09:32:26 AM
Hello.

Make sure your have this keys in your language pack .xml files
Also do not forget to clear AbanteCart cache
Title: Re: problem new language definition
Post by: museumdw on May 24, 2016, 02:16:22 AM
thanks, yes these keys are in the xml files. And emptying the cache gives no solution
Title: Re: problem new language definition
Post by: abolabo on May 24, 2016, 04:03:39 AM
hello.
look missed text in block common_header. (file common/header.xml)
Title: Re: problem new language definition
Post by: museumdw on May 24, 2016, 04:07:41 AM
i focused now on tekst_review. In Dutch this is translated with 'Reviews' in the >Common>Header.xml file. See the file attached
Title: Re: problem new language definition
Post by: museumdw on May 24, 2016, 05:25:08 AM
I finally found the cause of the problem. While translating to Dutch, i used the characters ë and ï . And in the xml file this causes problems. I encountered it, when loading the files in xmlspy, and the the message appears that there were errors in the file. Thanks for te responses.
Title: Re: problem new language definition
Post by: Basara on May 24, 2016, 06:41:17 AM
Make sure your xml editor support correctly this characters and the document is UTF-8 too