Results 1 to 3 of 3
  1. #1
    Join Date
    May 2011
    Posts
    8
    Plugin Contributions
    0

    Default admin panel in english + customer access in a foreign language

    Hello,


    I installed zc v 1.5 with English only. Now I want to add a foreign language, but only for customers. (I prefer admin panel in English).

    I found zc v 1.5 in the foreign language in question (however the version has no English folders at all). Is it enough to copy non-English language folder and non-english.php file into /includes/languages/ folder?

    I think that admin/includes/languages/ folder is responsible for admin panel language - I want to keep it English, so I will not upload non-English files there and I should have the result I want. Could somebody confirm, please?


    Thanks,
    Jack

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,984
    Plugin Contributions
    0

    Default Re: admin panel in english + customer access in a foreign language

    A custom language module - if properly written and compiled - and if compatible with ZC1.5, should not affect the default ENGLISH installation.

    And most language modules will offer the ADMIN person the choice of viewing admin in English, or the other language(s).

    Again... the question is whether your additional language is 1.5 compatible. If its authors assure you that it is, then install it on a TEST site and see if it offers the behaviour you desire.

  3. #3
    Join Date
    May 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: admin panel in english + customer access in a foreign language

    OK, thanks fairestcape,


    I understood I can do what I described in my first post. So I did. Initially everything worked perfectly:

    1. I uploaded Polish directory & php file to includes/languages folder (on test site). I left English language folder and php.

    2. I changed language in Admin/Localisation/Languages - I got even a little Polish flag flying.

    3. I checked my test site (herbonet.pl) and the language of the ZenCart shop was Polish. Yay!

    4. Now I have a problem: I CANNOT log into admin - I think this must be a consequence of language update/change (I do not remember if I logged off and never returned as admin until today, this might have been the case). The message is: 'Remote server or file not found. Check that the address is spelled correctly, or try searching for the site.' Tried with 4 different browsers, cleared cookies and cache. Nil effect.

    5. I browsed Zen forum and found advice to check myDEBUG-adm log. And this is what I found in the log:

    [26-Jun-2012 15:21:42] PHP Warning: require(includes/languages/polish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/renata/public_html/herbonet.pl/xadminx/includes/init_includes/init_languages.php on line 35

    [26-Jun-2012 15:21:42] PHP Warning: require(includes/languages/polish.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/renata/public_html/herbonet.pl/xadminx/includes/init_includes/init_languages.php on line 35

    [26-Jun-2012 15:21:42] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/polish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/renata/public_html/herbonet.pl/xadminx/includes/init_includes/init_languages.php on line 35

    6. I checked init_languages.php file, but I am not a programmer and it's all Greek to me; besides this file ends with line 31.

    My ZenCart is v1.50. The folder with Polish language was also from v1.50. xadminx is not the real name of my admin folder.

    Any help would be highly appreciated. If any more information is needed, please let me know.


    Thanks,
    Jack

 

 

Similar Threads

  1. Having storefront be foreign language & the admin remain english?
    By chronometre in forum Customization from the Admin
    Replies: 3
    Last Post: 3 Dec 2010, 11:12 PM
  2. Cannot access english admin
    By AlfTheCat in forum General Questions
    Replies: 0
    Last Post: 22 Jul 2009, 11:15 AM
  3. Admin Settings - Allowing someone else access my admin panel.
    By europod in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 5 Nov 2008, 03:22 AM

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
  •