Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language Problem


davidr80

Recommended Posts

Posted

Hello,

 

I have an oscommerce setup and i need to use the spanish language in it, everything seems to go well on site, but when i get the emails for an order status update i (the client) get the email with special characters, example :

 

Subject : Actualización del Pedido

 

Test Store

------------------------------------------------------

Número de Pedido: 1

Pedido Detallado: http://www.example.com/account_history_info.php?order_id=1

Fecha del Pedido: martes 10 noviembre, 2009

etc etc..

 

I found this two variables in order.php file for the spanish language folder :

define('EMAIL_TEXT_SUBJECT', 'Actualización del Pedido');

define('EMAIL_TEXT_ORDER_NUMBER', 'Número de Pedido:');

 

Is there a configuration setup im missing in order for it to work properly?

 

Thank you for your time.

 

Kind Regards,

David.

Posted

those are special html characters. Maybe your email client won't read the characters, maybe it is not sending the e-mails in html format. check to see the send html emails option is selected in the admin panel.

Posted

I've set the "Use MIME HTML When Sending Emails" to "true" as you suggested, as a result the email Subject still shows : "Actualización del Pedido" (Order Update)

 

The email body seems to be fixed in a way, i say in a way because the link to the order detail is no longer a link, it's just plain text now :

 

Test Store

------------------------------------------------------

Número de Pedido: 3 <- this was fixed

Pedido Detallado: http://www.example.com/oc/account_history_info.php?order_id=3 <- this used to be a click-able link, its a plain text now.

Fecha del Pedido: jueves 12 noviembre, 2009

 

Su pedido ha sido actualizado al siguiente estado.

___________

 

Is there something else i could try?

 

Thanks.

David.

Posted

Are you talking about the subject line outside of the body of the email, such as in the list of inbox emails? You'd have to check on the email protocols, but I'm not sure that non-ASCII (accented) letters are permitted in anything outside the body of the email. Anyone know for sure? I'm pretty sure that HTML entities wouldn't work in the subject line, and I don't know about binary (Latin-1 encoding?) characters. Maybe you could try replacing the ó with the actual character?

 

As for the no-longer-clickable link, can you tell if the message source is still inserting an HTML link <a href=... into the text, or is it now only the URL http://.... ? It won't be clickable if there is no anchor <a...> tag in there. Are you in fact viewing the email in an HTML-enabled mail program? If you're using something that only displays plain text, you of course won't have any HTML. I don't know if osC sends both HTML and plain text versions, or just HTML.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...