TinyPortal

Development => Support => Topic started by: Intop on December 12, 2008, 02:31:25 PM

Title: Traslate the date of post in tinyportal home
Post by: Intop on December 12, 2008, 02:31:25 PM
hello!
Mi problem is this: (red circles)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg83.imageshack.us%2Fimg83%2F1567%2Fchangeed4.jpg&hash=18630318358fd37ca0e6f2f6c281b93217d8646a)

Where is the archive I can traslate to spanish the name of the months ??
I have tinyportal 106beta and smf 117
Thanks!



Title: Re: Traslate the date of post in tinyportal home
Post by: G6Cad on December 12, 2008, 02:40:40 PM
If you post a link to your site we can tell you
Title: Re: Traslate the date of post in tinyportal home
Post by: Intop on December 12, 2008, 02:41:50 PM
Quote from: G6 on December 12, 2008, 02:40:40 PM
If you post a link to your site we can tell you

upss..
this is the website: megachollos.es
Title: Re: Traslate the date of post in tinyportal home
Post by: G6Cad on December 12, 2008, 02:51:41 PM
Seems that it fetches the SMF language strings on that part.

Check the index.english.php and see so you have the same lines in your own language and that it is properly translated
Title: Re: Traslate the date of post in tinyportal home
Post by: Intop on December 12, 2008, 03:10:10 PM
I see the archives: index.english.php  and index.spanish.php and the traslation is correct.
I change one word in this archives and in the tynportal home no change the month word

this is the code of the archives refer to months:
Index.english.php
$txt['days'] = array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
$txt['days_short'] = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
// Months must start with 1 => 'January'. (or translated, of course.)
$txt['months'] = array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
$txt['months_titles'] = array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
$txt['months_short'] = array(1 => 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');


index.spanish.php
$txt['days'] = array('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado');
$txt['days_short'] = array('Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb');
// Months must start with 1 => 'January'. (or translated, of course.)
$txt['months'] = array(1 => 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre');
$txt['months_titles'] = array(1 => 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre');
$txt['months_short'] = array(1 => 'Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic');


I need change the months_short to view in the tinyportal home
:(