Accents and other characters in Spanish

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
saronno
Posts: 7
Joined: Tue Dec 01, 2009 12:12 am

Accents and other characters in Spanish

Post by saronno »

Hello,

I have installed phpMyFAQ 2.6.1 in a Fedora box, selecting Spanish language during the installation. All the accents in the titles and menus show wrong, even if I select an installation in English and then select Spanish language (eg. Artículos instead of Artículos). My settings in Firefox are Character Encoding - Autodetect - Universal, and I also selected Unicode UTF-8. It does not work under IE either.

This is a header of the source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<title>phpMyFAQ Codename Portia - powered by phpMyFAQ 2.6.1</title>
<base href="http://127.0.0.1/grapeverba/" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta name="title" content="phpMyFAQ Codename Portia" />
<meta name="description" content="phpMyFAQ should be the answer for all questions in life" />
<meta name="keywords" content="" />

<meta name="author" content="John Doe" />
<meta name="publisher" content="John Doe" />
<meta name="copyright" content="(c) 2001 - 2010 phpMyFAQ Team" />
<meta name="generator" content="phpMyFAQ 2.6.1" />
<meta name="Content-Language" content="utf-8" />
<meta name="robots" content="INDEX, FOLLOW" />
<meta name="revisit-after" content="7 days" />

The language in the Spanish template is:
$PMF_LANG["metaCharset"] = "utf-8";
$PMF_LANG["metaLanguage"] = "es";
$PMF_LANG["language"] = "Spanish";

When I have a look at the content of the language_es.php file in "vi", the content does not show correctly either, eg:
$PMF_LANG["ad_menu_categ_add"] = "Añadir Categoría";
$PMF_LANG["ad_menu_categ_edit"] = "Editar Categoría";
$PMF_LANG["ad_menu_news_add"] = "Añadir Noticias";

Is it something wrong with the translation file?

Cheers!
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Accents and other characters in Spanish

Post by Thorsten »

Hi,

seems so... I'll check the Spanish translation file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Accents and other characters in Spanish

Post by Thorsten »

Hi,

I fixed the Spanish translation for the 2.6.2 release.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
saronno
Posts: 7
Joined: Tue Dec 01, 2009 12:12 am

Re: Accents and other characters in Spanish

Post by saronno »

Hi Torsten,

Thanks a lot, I have downloaded 2.6.2 release and copied the Spanish language page and it is working now. There are some typos though and problem with a couple of variable names in the Configuration section, Spam Control. I am attaching an update where I have corrected these errors. Anyway something is not working with the Configuration section, as changes in the check boxes are not saved (I would like to get rid of the captcha check).

Cheers
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Accents and other characters in Spanish

Post by Thorsten »

Hi,

the issue with the non saved configuration items is fixed in 2.6.2, so please do a full update and not only of the language file.

I'll add your translation to 2.6.3. Thanks a lot!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply