Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default 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

  4. #4
    FredSchenk Guest

    Idea or Suggestion Re: Config Language Problem on Admin page

    Quote Originally Posted by ericpeng View Post
    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
    Attached Files Attached Files

  5. #5
    FredSchenk Guest

    Default Re: Config Language Problem on Admin page

    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
    Attached Files Attached Files

  6. #6
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Config Language Problem on Admin page

    ... and take careful note that your upgrades will be much more complicated thereafter.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 12
    Last Post: 22 Jul 2021, 02:44 PM
  2. order emails to admin language/config files
    By JimmyV in forum General Questions
    Replies: 4
    Last Post: 14 Jul 2010, 06:07 PM
  3. Admin language problem
    By AntonioCS in forum Addon Language Packs
    Replies: 2
    Last Post: 29 Apr 2008, 08:02 AM
  4. New install no includes/dist-config or admin/dist-config files?
    By retroboutiques in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 7 Dec 2007, 07:54 AM
  5. User Tracking for zen 1.3.6 admin config problem!
    By miles in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Dec 2006, 12:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR