Zen Cart Logo
Forums / Addon Language Packs / Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Views: 72,179

Results 21 to 40 of 134
12 Jul 2010, 9:47 PM
#21
seiki73 avatar

seiki73

New Zenner

Join Date:
Jul 2010
Posts:
5
Plugin Contributions:
0

Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

me van a disculpar.... soy nuevo con ZEN y apenas estoy aprendiendo a usarlo....

Estoy intentando instalar el spanish pack, subi los archivos de INCLUDES y ADMIN a sus lugares... me quedo la duda de donde se sube aquella que dice SU_PLANTILLA, querra decir CLASSIC o DEFAULT... si la carpeta BUTTONS no esta creada habra que crearla?

Intente varias veces pero sigo obteniendo un error que dice que faltan carpetas y directorios....

agradezco la ayuda...

12 Jul 2010, 11:05 PM
#22
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Hola seiki73
Tendrás que buscar, y prepárate para aprender mucho, pero a largo plazo merece la pena, Zen Cart 2.0 será el mejor cart disponible, no hay duda.
Hay mucha ayuda en este foro pero solamente si haces algo de trabajo primero; no hagas preguntas que se puede solucionar en dos clicks en Google. Te recomiendo que no uses el buscador del foro, no va bien.

  1. Este language pack está en UTF-8, no el charset por defecto del Zen Cart actual. Es mejor para mostrar las tildes correctamente pero tu base de datos tiene que almacenar los datos en este formato y usar el collation utf-8 general.
    Google es tu amigo.

  2. CLASSIC es un ejemplo de una plantilla.
    No deberías tocarla.
    Es muy fea pero funciona como una herramienta muy útil porque sirve para comprobar si los personalizaciones que hayas hecho que han “jodido” la página están en tu plantilla o en el código central.

DEFAULT TEMPLATE no es una plantilla, es un almacén de todas las páginas que la tienda usa.
No deberías tocarla.
Cuando quieras modificar algo, tienes que hacer una copia un tu plantilla y editar esa.

  1. Deberías crear tu nueva propia plantilla con un nombre distinto. Puedes copiar los archivos de CLASSIC pero hay que cambiar los nombres de las carpetas al nombre de tu plantilla.
    ¿Cómo hacerlo? - Google es tu amigo.

  2. Language files. Una vez que tienes todo bien en inglés en tu nueva plantilla, puedes añadir el segundo idioma.
    Hay que meter el contenido de las carpetas nombradas "SU_PLANTILLA" en las carpetas equivalentes de tu nueva plantilla.

Suerte,
Steve

20 Jul 2010, 1:41 PM
#23
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Hi,

thanks for your efforts with the spanish translation.

Im sorry i dnt speak or read spanish so i maybe asking a question you have already answered in aprevious post...

I cannot seem to get the spanish language version of the site to work. I have copied the necessary files to the site, i have gone to admin > localisation > language , and added spanish / es and made it default.

what else do i need to do? i cant find any decent help pages to tell people how to have multi language zencarts :(

i want the visitors of the site to be able to choose between english and spanish. but have spanish as the default.

im using the latest zencart 139d.

thanks

TED

20 Jul 2010, 2:03 PM
#24
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

ok , ignore some of my previous post. I have got the site to work in both english and spanish...i think.

I can swap betwen the two using the language/flag option on the sidebar.

however, how do i make spanish the default? i have set it as default in the admin section but it still seems to be english when you first visit the site.

20 Jul 2010, 2:03 PM
#25
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

I assume you have renamed the SU_PLANTILLA folders to match your new template/the contents are in your new template folders?

Do you have the languages sidebox visible to be able to select between languages?
If so, what does it show?
Does the admin have a define language pull-down select option on the top left of the menu bar?
If so, what happens when you select spanish?

21 Jul 2010, 3:20 PM
#26
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

hi,

yes i have the site displaying ok now in spanish, but i cant seem to have the spanish version as the default.

I have to click on the spanish flag in the sidebox to swap it to spanish very time i visit the site.

any idea how i get it to default to spanish?

cheers

ted

21 Jul 2010, 3:35 PM
#27
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

I think it detects the browser settings, you will have to have the default content set to spanish and maybe even the browser language.

22 Jul 2010, 8:13 AM
#28
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

I think i have managed to set the default language to spanish, you set it in the admin > language section as default.

I did notice that one of your buttons is still in english?

the button_goto_prod_details.gif

it still says "product details"

I have used google translator and i believe the spanish for this is "detalles del producto" ?

thanks for a great addition to zencart.

22 Jul 2010, 8:43 AM
#29
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

ok, thanks, I'll look into that.

22 Jul 2010, 3:42 PM
#30
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Hi,

Ive also just had a very strange thing happen to my site.

If i make any change to the spanish.php file in "includes > languages" the site loses some of its layout settings.

It displays fine in english, but if i swap to the spanish version some of the CSS isnt working properly.

If i overwrite the file with the original spanish.php file in your pack it reverts back and looks ok again.

All I am changing is the

define('TEXT_PRODUCT_WEIGHT_UNIT','kgs');

//Shipping
define('TEXT_SHIPPING_WEIGHT','kgs');

from lbs to kgs.

anyone else had this issue where making any change to this file makes the whole site look wrong?

thanks

TED

22 Jul 2010, 4:07 PM
#31
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Hi again :)

i have solved this problem. it was because when I save the document in notepad i need to change the coding to ANSI. it was saving it in utf-8 and therefore breaking the coding so presumably my web host couldnt read it properly, even though the spanish.php is set to utf-8 coding.

anyway, if anyone else has any css layout issues after making changes to any php files in this spanish language pack, or probably any other language pack, always check what coding the file is being saved as.

hope this helps other people

cheers

TED

25 Jul 2010, 10:59 PM
#32
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

vrans99:

Muy buen trabajo torvista.
Una simple sugerencia: Yo recomendaria traducir la palabra "guest" como "visitante" y no no como "invitado".
Magnifico trabajo con los botones. Seria bueno consolidar los que dicen "cesta" y "carro" en una sola traduccion.
Tu trabajo fue excelente. Gracias. :clap:

Muchas gracias, no era un a cosa de una tarde...

He cambiado invitado a visitante.
He puesto todo a cesta.
He añadido un botón "Detalles del Producto" que no era traducido.
He actualizado todos los botones a un tamaño menor.
He corregido un error en linea 58 de includes/modules/payment/paypal.php.
Los archivos nuevos están en sourceforge.

25 Jul 2010, 11:05 PM
#33
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Some changes as recommended by users.

Invitados -> Visitantes
Carro/Cesta -> Cesta (both terms were previously in use)
The "Product Details" button was not translated.
The button sizes have been reduced and the big/small buttons now correspond to the sizes as used in the english default.
There was an error on line 58 of includes/modules/payment/paypal.php.
The new files are in sourceforge and will be uploaded presently to the forum downloads.

25 Jul 2010, 11:38 PM
#34
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

torvista:

There was an error on line 58 of includes/modules/payment/paypal.php.
I strongly recommend that you don't edit a module file for inclusion in a language pack.
Language files, yes. Modules, no.

26 Jul 2010, 6:33 AM
#35
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

As always in my bleary-eyed posts, there was a deliberate mistake, the correction was to the language file
includes\languages\spanish\modules\payment
NOT the code
includes\modules\payment.

28 Jul 2010, 12:35 PM
#37
tedrodgers avatar

tedrodgers

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Hi again,

on the final order displayed to the customer it currently has the shipping details as:

Tabla de Tarifas (0.75kgs) (Seur 24):

Im being told by my spanish friend that SEUR is a company in spain?

she wants it to say correos (post office) .

where do i change this?

ive looked in the spanish.php file but dont seem to be able to find it.

thanks!

28 Jul 2010, 6:10 PM
#38
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

The name of the Seur carrier is used in these four shipping modules:

\includes\languages\spanish\modules\shipping\table.php
\includes\languages\spanish\modules\shipping\perweightunit.php
\includes\languages\spanish\modules\shipping\item.php
\includes\languages\spanish\modules\shipping\flat.php

So you have to edit the one you are using.
If you are using Windows I recommend you try Windows GREP, you would have found these references very easily.

24 Aug 2010, 11:48 AM
#39
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

v1.2 now available in the download section.

Changed files:
checkout_success.php:correction
account_notifications.php: correction
product_music:old version
unsubscribe.php:titles not translated, corrections.
product_reviews_write.php: correction
advanced_search.php: unescaped quotation marks prevented popup search help from opening
cod.php: not encoded as UTF-8 as no characters requiring it: added ñ in comments

6 Sep 2010, 9:09 PM
#40
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b

Hi to participants, and thanks to Torvista for updating this mod and the Zen Button Construction Kit which is recommended to be installed along with this module.

I have posted a question in one of the button construction threads relating to how to get that module installed, as the module's instructions are aimed at someone more knowledgeable than myself.

Regarding this mod, I think the box headings may fall into a different category than the buttons. I am seeing box headings in English in the form of Return_Customer_Text, or Box-Heading_Authorize.Net, or Heading_Shop_Confidence, etc., which appear on the main page and login page.

What are my options to change these? Have I missed a step in installing this mod?

Thanks for any comments.

Notageek