Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jan 2011
    Location
    Estonia
    Posts
    15
    Plugin Contributions
    0

    help question Problems in setting up a multilingual store

    Freshly installed store (with inmotionhosting.com, via cPanel), no any products created yet. PHP 5.3, MySQL Community Edition 5.0.96

    Freshly added Spanish language seemed to be successful (only - for some reason, the Spanish flag icon does not show up though the 'icon.gif' is where it should be - in the folder includes/languages/spanish/images).
    Tried also to add the German language - but without a success. I renamed the 'admin' folder to 'zcadmin' and copied the contents of de_DE folder to the shop folder (as instructed in adding Spanish language; the de_DE folder, downloaded from http://www.zen-cart.com/downloads.php?do=file&id=205, did not contain any instructions. Now, the (shop)/includes/languages contains the following:
    Name:  de_DE.png
Views: 357
Size:  7.6 KB
    The shop can be seen here: http://e-aiand.com/zen/

    So far, I've made no any other changes to the install that adding these two languages.

    So, how to install the German language? And what could be wrong with the Spanish flag icon? Later, I plan to add the Russian language as well - after the Spanish and German will be OK.

  2. #2
    Join Date
    Jan 2011
    Location
    Estonia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Problems in setting up a multilingual store

    Well, I downloaded the German language pack again. This time I also saw the instructions among downloaded files and it also seems that the German language installation was successful this time.

    Only again - neither Spanish nor German flag icon does not show up...

  3. #3
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by robinast View Post
    Well, I downloaded the German language pack again. This time I also saw the instructions among downloaded files and it also seems that the German language installation was successful this time.

    Only again - neither Spanish nor German flag icon does not show up...
    So you have a file specifically titled icon.gif (capitalization is important) in:
    includes/languages/spanish/images/

    and in

    includes/languages/german/images/

    with both folders being off of your store's base directory. It would appear that the base directory for your store is on your server then in the sub-folder of zen.. so for the images to properly be displayed, would need to have them in: zen/includes/languages/AlternateLanguageOfChoice/images
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jan 2011
    Location
    Estonia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by mc12345678 View Post
    ... so for the images to properly be displayed, would need to have them in: zen/includes/languages/AlternateLanguageOfChoice/images
    Thank you very much for your reply!

    public_html/zen/includes/languages/english/images/icon.gif : the icon showed up
    public_html/zen/includes/languages/spanish/images/icon.gif : the icon did not show up
    public_html/zen/includes/languages/german/images/icon.gif : the icon did not show up

    After changing permissions for two folders .../AlternateLanguageOfChoice/images from 700 to 755 (as it has been for the English language all the time), the flags appear as expected. BUT - I don't know just too much about files/folders permissions, so the question remains: was that a wise thing to do?
    Last edited by robinast; 18 Nov 2013 at 04:47 PM. Reason: typo

  5. #5
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by robinast View Post
    Thank you very much for your reply!

    public_html/zen/includes/languages/english/images/icon.gif : the icon showed up
    public_html/zen/includes/languages/spanish/images/icon.gif : the icon did not show up
    public_html/zen/includes/languages/german/images/icon.gif : the icon did not show up

    After changing permissions for two folders .../AlternateLanguageOfChoice/images from 700 to 755 (as it has been for the English language all the time), the flags appear as expected. BUT - I don't know just too much about files/folders permissions, so the question remains: was that a wise thing to do?
    Read through the following FAQ http://www.zen-cart.com/content.php?...-files-folders
    My initial thought is that you have now setup the directory as expected; however, I would suggest looking through that FAQ to validate my thought...

    And by the way, good question to ask...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jan 2011
    Location
    Estonia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Problems in setting up a multilingual store

    Thanks! But I did not change the directory - the only thing I did, was to change permissions.

  7. #7
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by robinast View Post
    Thanks! But I did not change the directory - the only thing I did, was to change permissions.
    Note the first box at the top of that FAQ. It has a clickable link to a FAQ. Although all information in the FAQ is important, take note of item 11 for your issue.

    Although you did not change the directory, the security settings are still applicable. In this case, it is not as important about how one caused this problem, as it is that the effects are corrected.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by robinast View Post
    Thanks! But I did not change the directory - the only thing I did, was to change permissions.
    See this article (in particular "Set permissions on folders"). This article will be a good read when it comes time to upgrade (in the future).

    I typically do not recommend using the "installer" via cPanel for Zen Cart (if you did) as you sometimes miss seeing some of the important "setup", "configuration", and other "documentation" available during the Zen Cart installation (the installation documentation can also be found in the "doc" folder and on the Zen Cat website).

    Note 1: 3rd party installers can also sometimes include changes to Zen Cart which are not standard... Sometimes the changes are good like bugfixes, filesystem permission changes, and changing default settings to work better with their server configuration. Sometimes the changes cause intermittent errors or skip critical installation checks / steps (and the created issues may be hard for anyone here to track down because they are not privy to the changes made by the 3rd party and may not be able to duplicate the issue in a "stock" Zen Cart installation).

    Note 2: InMotion Hosting uses suPHP on their web servers (by default on VPS and forced on "shared hosting" if I remember correctly). So when you see "if your server uses suPHP", the information will probably apply to your server. Last time I checked they also use mod_security, so if you run into any strange 406 errors (rare) you will want to contact their support.
    Last edited by lhungil; 18 Nov 2013 at 06:02 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  9. #9
    Join Date
    Jan 2011
    Location
    Estonia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by mc12345678 View Post
    Note the first box at the top of that FAQ. It has a clickable link to a FAQ. Although all information in the FAQ is important, take note of item 11 for your issue.

    Although you did not change the directory, the security settings are still applicable. In this case, it is not as important about how one caused this problem, as it is that the effects are corrected.
    Thank you, the link was both useful for me and interesting!
    After reading through it, I made some more corrections to the permissions: it appeared that both the Spanish and German languages had permissions set to 700 in several places where English had 755. So I changed the permission to match them with the English language. The Zen Cart itself was installed via cPanel and the additional language packages were added through gFTP - may-be that's why the permissions were different for different languages. And as I already had a minor issue seemingly due to this mismatch, I gave the same permissions to other languages as the English language has by default. I think it's safe - unless, of course, there is some permissions-linked issue with the ZC default installation itself (which, I think, is not very likely).

    Anyway, I'm just learning now and will not start with the real shop very soon. So, if I make mistakes, I can learn from them without too much pain.

    One more question: content of which folders have to be translated to an another language to have the front-end completely (including buttons) in this language? 'includes' and 'admin' - sure, but what else? The back-end translation is not important. The Spanish package has three folders (email, includes, admin), the Russian package has a lot more (but as I understand, not compatible with the v1.5.1). I would need both the Russian and Estonian languages in my future store as well...

  10. #10
    Join Date
    Jan 2011
    Location
    Estonia
    Posts
    15
    Plugin Contributions
    0

    Default Re: Problems in setting up a multilingual store

    Quote Originally Posted by lhungil View Post
    See this article (in particular "Set permissions on folders"). This article will be a good read when it comes time to upgrade (in the future).

    I typically do not recommend using the "installer" via cPanel for Zen Cart (if you did) as you sometimes miss seeing some of the important "setup", "configuration", and other "documentation" available during the Zen Cart installation (the installation documentation can also be found in the "doc" folder and on the Zen Cat website).
    Greatest thanks! I bookmarked the links you provided so that I could find this useful info in the future. The info I found from them gave me a confidence that changing folder permissions form 700 to 755 was not only OK but also a must to do.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 23 Dec 2009, 09:44 PM
  2. Help needed:multilingual zen cart store
    By meetwinter in forum Addon Language Packs
    Replies: 1
    Last Post: 6 Sep 2009, 05:22 AM
  3. setting up an MP3 store
    By spiralingbob in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 6 Jun 2009, 07:55 AM
  4. A multilingual store
    By g.nencini in forum General Questions
    Replies: 3
    Last Post: 13 Aug 2006, 04:50 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR