Config Language Problem on Admin page
Since I need Simplified/Traditional Chinese and English on the website, I downloaded Zencart v1.3.9e, Chinese version, from www.zen-cart.cn (UTF-8 supported).
But on the Admin page, the language for the Configuration column remains simplified Chinese no matter what language I choose as the default. Everything else on the page changes, it's just that one column.
Would anyone know how to solve this? Thanks in advance!
Re: Config Language Problem on Admin page
Zen Cart 1.3.x only supports one language in the configuration menu options. Sorry. To change that will require significant customization which will also make future upgrades more complicated.
Re: Config Language Problem on Admin page
Thanks for the reply.
I don't know if my question make sense?
1. install UTF-8 Support for Zencart (original English version)
2. edit all files in chinese pack add-on (non utf-8) and then saved it as utf-8 before install
will it make my zencart utf-8 supported with Chinese language?
Thanks
Eric
1 Attachment(s)
Re: Config Language Problem on Admin page
Quote:
Originally Posted by
ericpeng
Since I need Simplified/Traditional Chinese and English on the website, I downloaded Zencart v1.3.9e, Chinese version, from
www.zen-cart.cn (UTF-8 supported).
But on the Admin page, the language for the Configuration column remains simplified Chinese no matter what language I choose as the default. Everything else on the page changes, it's just that one column.
Would anyone know how to solve this? Thanks in advance!
I have a 'quick&dirty' solution which might work for you, if you're willing to do some handwork. Look at the attachment for a file with all the work in it.
There are 3 actions:
1. Alter the table with the 'configuration'-values so it gets a 'language'-column (and setting the value for all the items in it to english)
2. Add the records for your language to this table, in my example it is dutch...
3. Alter one file (admin\includes\boxes\configuration_dhtml.php) so the current language is chosen for the query.
NB: if the table isn't filled for 'your' language, the configurations-menu will be empty.
I guess a 'better' solution would be to use the defaul translations-method, but as I told, this is the q&d one :D
1 Attachment(s)
Re: Config Language Problem on Admin page
Oops... :oops:
Missed one thingy in ZC, it uses the id to display the correct page. So here is a new version of my steps.
1, Add the language-field to the table
2. Change the PK so that it includes the languages (else we won't be able to use the same numbers)
3. Add the new strings, now using the same numbers
4. Change the code in the mentioned page,
Gtx,
Fred
Re: Config Language Problem on Admin page
... and take careful note that your upgrades will be much more complicated thereafter.