11
DIDI5
Re: E-mails, printer, pdf: What to change to switch to spanish?
  • 2006/6/21 6:02

  • DIDI5

  • Just popping in

  • Posts: 36

  • Since: 2006/3/24


In some languages you cannot use just any FONT. In most cases some font family don't have all other characters.
Maybe, check the FONT that the pdf is using.

12
chardiar
Re: E-mails, printer, pdf: What to change to switch to spanish?
  • 2006/6/21 18:15

  • chardiar

  • Just popping in

  • Posts: 91

  • Since: 2004/8/16


Quote:

snow77 wrote:
I analyzed what you sent me, apparently the language of your modules are in ISO format and you are using UTF format.

I see this for example in one of language strings for news in UTF format (which is the spanish language pack I downloaded from xoops.org):

Quote:
define('_MI_NEWS_NAME', 'Artículos');


and in the file you sent me I see:

Quote:
define('_MI_NEWS_NAME','Artículos');




Thanks snow77, it's ok but that isn´t problem because is in administration control panel. That isn´t very important for me. I am using international characters where is important for user.
The problem are "send a friend", "pdf" and "printer" in modules. There I see utf-8 characters.


Here is an example of news module for "printer":
-------
Foros de GuiadelFrio.Com
Fecha 15/06/2006 - 16:50 | Categoría: Administración de GdF.Com


Hemos habilitado el servicio adicional GRATUITO de Foros para todos los Miembros de GuiadelFrio.Com.
En esta nueva Sección los Miembros podrán realizar preguntas que serán contestadas por otros Miembros.

La única condición para poder enviar mensajes es estar registrado en el Portal.

El contenido del mensaje es responsabilidad total del Miembro que lo envía.


Administrador
GuiadelFrio.Com


Documento disponible en Guia del Frio
http://www.guiadelfrio.com/portal

La dirección de este documento es:
http://www.guiadelfrio.com/portal/modules/news/article.php?storyid=82
--------


"Send a friend" in news module:

En Guia del Frio está disponible un artículo interesante:http://www.guiadelfrio.com/portal/modules/news/article.php?storyid=82

---------

"Pdf" in news module:

Guia del Frio - Refrigeracion Aire Acondicionado Ventilacion
Foros de GuiadelFrio.Com
Administración de GdF.Com
Publicado por: Admin
Publicado el : 15/06/2006 - 16:50
Hemos habilitado el servicio adicional GRATUITO de Foros para todos los Miembros de
GuiadelFrio.Com.
En esta nueva Sección los Miembros podrán realizar preguntas que serán contestadas por otros
Miembros.
La única condición para poder enviar mensajes es estar registrado en el Portal.
El contenido del mensaje es responsabilidad total del Miembro que lo envÃa.
Administrador
GuiadelFrio.Com
http://www.guiadelfrio.com/portal 21/06/2006 12:33:21 - 1

-----

I have in english/global.php:

//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'UTF-8');
define('_LANGCODE', 'en');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "1");


and I have in spanish/global.php:


//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'utf-8');
define('_LANGCODE', 'es');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "1");

13
snow77
Re: E-mails, printer, pdf: What to change to switch to spanish?
  • 2006/6/21 22:49

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


I don't know how else I can help you, I thought the language problem came from the language of the modules you are using aren't in UTF format, but if it's not this I don't know what else it can be. All the spanish sites I've setup are in ISO format and I am not instructed well on how each of the charsets should be correctly applied. I don't know how you can mix up both charsets on one site and still have everything look ok, like it seems you have. Maybe Riosoft has more experience with this.
www.polymorphee.com
www.xoopsdesign.com

14
chardiar
Re: E-mails, printer, pdf: What to change to switch to spanish?
  • 2006/6/22 2:20

  • chardiar

  • Just popping in

  • Posts: 91

  • Since: 2004/8/16


No problem snow77 and thank very much for all .

I hope somebody can help me.

15
chardiar
PLEASE, can any developer help me with this? Printer, pdf: What to change to switch to spanish?
  • 2006/7/2 14:42

  • chardiar

  • Just popping in

  • Posts: 91

  • Since: 2004/8/16


Please, read the thread .

16
rowdie
Re: PLEASE, can any developer help me with this? Printer, pdf: What to change to switch to spanish?
  • 2006/7/2 20:59

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Did you try the UFT-8 news module files that snow77 sent you? It really should be the solution to your problem

17
chardiar
Re: PLEASE, can any developer help me with this? Printer, pdf: What to change to switch to spanish?
  • 2006/7/2 22:22

  • chardiar

  • Just popping in

  • Posts: 91

  • Since: 2004/8/16


Hi rowdie, thanks for your answer but the problem isn´t spanish language traduction. The problem with spanish language is the generation of "pdf", "send a friend" and "printer" .

Where's the problem?

18
snow77
Re: PLEASE, can any developer help me with this? Printer, pdf: What to change to switch to spanish?
  • 2006/7/3 1:34

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


chardiar, look, it is not about "spanish traduction", this is about how the language is rendering the special characters, and the charset format the language files of your modules are in, it is all related. You lose nothing making a test with the files I sent you (you have to keep always backup of the original version you have).
www.polymorphee.com
www.xoopsdesign.com

19
phppp
Re: E-mails, printer, pdf: What to change to switch to spanish characters?
  • 2006/7/3 1:49

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


For PDF creator, currently it does not support UTF-8 encoding.
Plz check the pdf package along with CBB/article etc., which provides solutions for multiple languages.

To make it work properly, you, or your local supporters need build locale encoding conversion methods for your language.
I believe we will have ML layer to handle the issue in XOOPS 2.3 or 2.4, before that you have to ask help from local support sites.

20
snow77
Re: E-mails, printer, pdf: What to change to switch to spanish characters?
  • 2006/7/3 3:10

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


@chardiar, I currently support this site Quote:
www.colegiobennett.edu.co
, it's a fully spanish site under ISO charset and the language works correctly, I also support other spanish sites, you could still consult me if you still can't find a solution but I'd need a closer look to your files to try and see if I might have a solution.

It's just a matter of the charset you are using, it can be UTF, or it can ISO. This is something that can be treated with whoever is managing the esxoops site maybe and is managing the spanish translations.
www.polymorphee.com
www.xoopsdesign.com

Login

Who's Online

229 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits