TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 368
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 227
  • Total: 227

Howto translate date

Started by fak3, May 03, 2009, 01:25:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fak3

Hi,
I noticed that even if a tp translation is installed, the names of the months in frontpage remain in english.



How can I translate them?
For example, "May 03  2009" should be "Mag 03  2009".

Thank you in advance. :)
I'm using SMF 1.1.8 with the last TP beta.

G6Cad

That should be translated from the SMF files, TP just import the text from the SMF, so you have to check so the SMF language files you have are translated correctly.

fak3

What's wrong with my translation? ???
Code (/Themes/default/languages/index.italian-utf8.php) Select
$txt['months'] = array(1 => 'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre');
$txt['months_titles'] = array(1 => 'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre');
$txt['months_short'] = array(1 => 'Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic');

Inside the forum the names of the months/days are translated... maybe it's a TP problem. Even if I change months names in index.english.php they remain in english. :idiot2:

G6Cad

I see you have utf8, did you add the utf8 language package for TP aswell ?
And does your forum run on utf8 ?  Check in your Admin/configuration/Server Settings
What language is set there ? is it utf8 ?

fak3


G6Cad

And then, did you add the utf8 language package for tp for your language aswell ?


G6Cad


fak3

Maybe a little TP bug? :o
I asked in the italian support section (http://www.tinyportal.net/index.php/topic,29451.0.html) and others seem to have the same problem...

ZarPrime

Hmmm, is this problem only on a post that is set to show on the Front Page?  Can I see your site please where you see this?  Link?

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.