is your site online to be viewed publicly?
Printable View
is your site online to be viewed publicly?
hi,
Thanks for the reply, site not up quite yet, it's very sketchy at the moment.
Basically nothing has been used in the Spanish version other than pages (ez pages) and a logo I uploaded as a banner. The logo in the header is not there. The background is not the same so it can't be using css rules I suppose. The footer copyright part is different too. I will try and upload the files again in the meantime. Thanks for you help:bigups:
Just updating on this:
I tried uploading the files again as before I had burrowed down into folders and copied across to the relevant places - I thought I might have missed something. This time I just rename SU_ADMIN and SU_PLANTILLA and copied straight over. Anyway the effect is the same - so close! Descriptions of categories in Spanish are read, so it's just the layout really.
Without wishing to sound rude, your descriptions of your problems are as clear as mud.
1) You have to copy ALL the files in the pack so that what you have in the english subdirectories mirrors the spanish ones in structure and files: you can't just pick and choose.
2) Have you enabled the spanish language in the admin?
3) Do you now have spanish available as an option in both the admin and catalog?
4) Is your database and mysql connection set up to use utf-8?
5) Using the CLASSIC template (which you should not have touched) and not your customised template, is the layout functioning correctly/looks the same in both languages?
If not what is the difference->use screenshots to help explain: you may not be using the terms of reference people here are familiar with. Take your time, re-read your post before posting to make it as clear as possible to someone who has never seen your site.
Thanks Torvista,
no that's ok, you're not rude - I'll try and be clearer.
Yes I have copied all files I know not to pick and choose, it was just the way that I copied files over that might have caused a problem; it did not.
I have added Spanish in LOCALIZATION/LANGUAGES but my problem is primarily caused by not adding a language in TEMPLATE SELECTION. I have now added a language here and entered TEMPLATE NAME and TEMPLATE DIRECTORY that are identical to my English version.
This has improved things. So now I have my background colours matching.
But I still have some discrepancies. Here is the English version:
Attachment 8760
The header, banner, footer and main text is different in the Spanish:
Attachment 8761
Any help much appreciated.
Cheers
Matt
ok, looks like I've resolved this now.
I simply alter each Spanish file by hand. For example, In LANGUAGES/CUSTOM/spanish.php I changed the copyright information in the footer.
Can someone confirm that this is the the correct way forward? That is that I should alter individual files in this way?
Thanks.
I've got one more annoyance:frusty: and that's that certain English characters are not recognised in the Spanish version of text. E.g. "caldo" in the English version becomes �caldo� in the Spanish.
Does anyone know what's causing this?
Cheers
mojo
Remember the spanish files mirror the english ones that come with the install.
You have modified/overridden the english files with your own content. You must do the same changes to the equivalent files in the spanish set.
see point 5) in my post above. You should always retain the classic template untouched as it provides a known working template with no user mods to break it.
On the long road to a working, modified shop you need all the hints you can get to figure out what you have just broken, and switching back to the classic template when you have a problem tells you if the bug is in your template or a core file edit.
Yes.Quote:
I simply alter each Spanish file by hand. For example, In LANGUAGES/CUSTOM/spanish.php I changed the copyright information in the footer.
Can someone confirm that this is the the correct way forward? That is that I should alter individual files in this way?
The original file is in:
\includes\languages\spanish.php
so you copy it to an override folder and edit the copy
\includes\languages\custom\spanish.php
see point 4) These points are important!Quote:
version becomes �caldo� in the Spanish.
This is due to you having conflicts between your language file character sets and the encoding as served to the browser and probably also the database connection and the character set of the data in the database.
My files are in UTF8 which is not default zen cart encoding, (but it will be). I made them available to the community after spending a lot of time sorting these problems out with accents.
No doubt it would be easier for all concerned if these were in zen cart 8859 encoding, but they are not.
So either you convert all my files back to iso8859 (bad) or convert everything else to use utf-8.
No doubt this is all gibberish to you now, but zen cart is about learning, so read this entire thread carefully, especially the spanish posts, Google anything you don't understand, and then this one:
http://www.zen-cart.com/forum/showthread.php?t=93439
and this one for good luck:
http://www.zen-cart.com/forum/showthread.php?t=133111
and Google all the things I have mentioned above until you are clear what is going on...
Great, thanks for your time in replying, I appreciate it. The posts were really useful. For others out there, the last is less pertinent to this particular issue. My SQL database is in fact in UTF8 and after retyping my Spanish all seems to be in order. I wonder if I caused some problems by pasting over from MS Word - probably not a good idea. I had some characters that were problematic such as the half symbol that I had used. In this instance, I just substituted it for hex HTML code ( ½ in this case). Might be useful for other people just starting. Everything seems ok so far, so thanks again. I agree about the learning curve you need to go on when new to this - still I've done more than my fair share of learning so I expect I'll survive :smartalec:
Cheers
mojo
The current version 1.5 in the downloads now includes a set of both utf-8 files and 8859 files for a default installation and to make life easier for new users.
http://www.zen-cart.com/index.php?ma...oducts_id=1643
I have an error. When upload everything, Change the settings and show me this message:
MISSING LANGUAGE FILES OR DIRECTORIES ... Http://bellezacr.com/includes/la Spanish
I'm newbie on this, I forget Upload something? or I need modify some file??
Thanks!