Welcome to Geeklog, Anonymous Wednesday, October 07 2026 @ 11:13 am EDT

Geeklog Forums

Date translation?


Status: offline

pattty

Forum User
Newbie
Registered: 11/29/02
Posts: 13
Hi,

ok, here i go.

i have a geeklog installed on my site, i have the spanish translation for my geeklogiste. the thing is that when i publish a notice, the date is still in english, i.e.:

Conferencia de Prensa.
"Thursday, November 06 2003 @ 09:07 AM CST -->in here.
La reforma fiscal debe ser integral, beneficiar socialmente a los mexicanos y fortalecer las finanzas públicas".

how can i change this, or when can i search for this days in english and change it to spanish?

thanks
suerte,

pAtTtY
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You need to set the proper locale in config.php.

bye, Dirk
 Quote

Status: offline

pattty

Forum User
Newbie
Registered: 11/29/02
Posts: 13
ok dirk

but i have

$_CONF['language'] = 'spanish';
$_CONF['locale'] = 'en-gb';

i have spanish there, in the next line waht do i have to put?
sp-gb??

thnx
suerte,

pAtTtY
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by pattty:i have spanish there, in the next line waht do i have to put?
sp-gb??

It seems like the locale for Spain is 'es_ES', so

$_CONF['locale'] = 'es_ES';

A quick search for "spanish locale" on Google would have told you the same thing, btw.

Does anyone have a URL for a (more or less) complete list of locales that we could add to the documentation (the URL, not the list ...)?

bye, Dirk
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
I found a nice list at PerlDoc.

http://www.perldoc.com/perl5.8.0/lib/I18N/LangTags/List.html
 Quote

All times are EDT. The time is now 11:13 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content