Translation

Get general support for ADP here.

Moderator: pgolovko

Translation

Postby toux36 » 07/27/2009 6:41 pm

Hello to all!

My name is David, I´m new here.

I first time I would like congrat to the ADp denvelopers, so nice directory.

I have some troubles with the tranlation, i´m from Spain, and in my country not so much people speak English and i need translate the directory, But I don´t know how.

May somebody help me, where is the file for translate or is exsist or somebody have a spanish version please?

Thanks to all.

Greestens!!

David
toux36
 
Posts: 1
Joined: 07/27/2009 6:32 pm


Re: Translation

Postby gc_rjauregui » 07/30/2009 1:38 pm

There are no translations that I know of. You will have to edit the template files to have portions of the site in Spanish, or any other language.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Translation

Postby tonylama » 10/31/2009 10:07 am

Ryan I'm just missing a little detail about the translation, 2 words: Next and Previous.
Those words come from a variable, $nav , and that's part of Smarty I think, they're not in the body.html template.
Is there a way for me to change them ? I want Proximo and Anterior. (I only know how to modify the template).

For the translation of the directory from Spanish to English I'm using Google.

A few months ago I had no idea of how this script worked, Today I have a full web site with more than 5,000 links up and running.

Great script, my respects to all people participating in this project.

If someone needs help to translate the template to Spanish I can help.
(Si alguien necesita ayuda con el template para traducirlo a Espanol Yo lo puedo ayudar.)
Last edited by tonylama on 10/31/2009 3:32 pm, edited 1 time in total.
tonylama
 
Posts: 31
Joined: 08/07/2009 3:04 pm

Re: Translation

Postby gc_rjauregui » 10/31/2009 12:28 pm

You are correct, some words are not in the template files. Search for the following in functions.php to change Next / Previous.

Code: Select all
$Nav .= "<A HREF=\"index" . $p_num . ".html\"><b><< Previous</b></A>";


Code: Select all
$Nav .= "<A HREF=\"index" . ($page + 1) . ".html\"><b> Next >> </b></A>";


This should fix the issue for you if you replace Previous and Next with Proximo and Anterior.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Translation

Postby tonylama » 01/17/2010 10:09 am

After installing ADP 1.3.7 The Spanish characters Ñ and ñ as well as punctuation will show as a symbol � in the results and in the admin console.
Spanish characters like ñ, á, é, í, ó, ú become symbols or %i# these characters.

MySQL Server version: 5.0.32-Debian_7etch5~bpo31+1-log
MySQL charset: UTF-8 Unicode (utf8)

Web server Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/5.2.0-8+etch9~bpo31+1
MySQL client version: 4.0.24


Here is an example:
La historia de este sector, sus costumbres, sus raíces históricas, muy pocas personas saben cuando y cómo se originó, quienes fueron sus héroes y bajo que circunstancias surgieron y se forjaron hasta llegar a adquirir tanto brillo como el oro adquiere al calor del crisol de las fraguas.

Here's how it looks after adding it to the DB:
La historia de este sector, sus costumbres, sus raà ces históricas, muy pocas personas saben cuando y cómo se originó, quienes fueron sus héroes y bajo que circunstancias surgieron y se forjaron hasta llegar a adquirir tanto brillo como el oro adquiere al calor del crisol de las fraguas.

OK Ryan, I was able to fix the problem in the admin side, I now see the spanish characters right, what I did was change the MySQL Connection Collation from utf8_general_ci to utf8_spanish_ci. The results of the pages still showing the symbols and strange characters, (user side).

Need some help here.
tonylama
 
Posts: 31
Joined: 08/07/2009 3:04 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron