spanish configuration

thread: 9 messages  |  last: about 3 years ago  |  started: tuesday, october 17, 2006, 3:37 pm pdt


#1  |  Ernesto Quiñones (Lima) Peru
Tuesday, October 17, 2006, 3:37 PM PDT

Hello friends, please any body can explain me the process to activate the es.po file??

i copy this file to includes/i18n from includes/qcodo/i18n and in prepend.inc file i active this options:

public static $EncodingType = 'UTF-8';
QApplication::$CountryCode = 'es';
QApplication::$LanguageCode = 'es';

but the page viewed in english
thnaks for your help

from Perú

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Tuesday, October 17, 2006, 10:10 PM PDT

Which page are you trying to view?

Only segments that have QApplication::Translate() or _t() will be translated, and only if the exact message string being translated is found in es.po.

#3  |  Stockton (Buenos Aires, Argentina)
Wednesday, October 18, 2006, 5:15 PM PDT

You can try deletting the cache files

#4  |  mmaidana (Mallorca) Spain
Friday, February 16, 2007, 8:12 AM PST

Hola Stockton
Yo tambien soy argentino, pero vivo en europa desde hace 5 años.

Queria preguntarte si pudiste escribir las fechas en español en tu trabajo final

Si, lo pudiste hacer, avisame...

Muchas Gracias

#5  |  marcelo mprizmic Argentina
Tuesday, May 8, 2007, 8:23 PM PDT

Si lo lograste me interesa también saberlo
Gracias
Marcelo

#6  |  nicolap (Budapest, HU) Italy
Monday, May 14, 2007, 1:32 AM PDT

If your settings are:

QApplication::$CountryCode = 'es';
QApplication::$LanguageCode = 'es';

You need a file named (look QI18n.class.php)
      es_es.po

Try to leave empty CountryCode: it may be needed for example for Portuguese...

#7  |  tkaplan1983 (Melbourne, Fl) United States of America
Wednesday, May 23, 2007, 2:32 PM PDT

Can someone post how do to this.

I have enabled the Ql18 in prepend.inc and I have created the es_es.po file as well as created the translation and it still doesn't work.  Any hits?

#8  |  marcelo mprizmic Argentina
Monday, May 28, 2007, 2:18 PM PDT

I changed the prepend.inc

           QApplication::$CountryCode = '';
           QApplication::$LanguageCode = 'es';
           QI18n::Initialize();
and have

C:\....\includes\qcodo\_core\i18n\es.po

and

C:\....\includes\qcodo\i18n\es.po

and translates fine.

Marcelo

#9  |  Shannon Pekary (East Palo Alto, CA) United States of America Qcodo Core Contributor
Wednesday, November 19, 2008, 6:02 PM PST

So I think the documentation is wrong. Do not move the i18n file into the includes directory. Leave it in /includes/qcodo/.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.