Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: [darksteel] - maaliskuu 08, 2005, 04:54:24 IP

Otsikko: AM/PM time
Kirjoitti: [darksteel] - maaliskuu 08, 2005, 04:54:24 IP
 :-\ in spanish language can't view time cocept ( AM or PM )

LainaaMarzo 08, 2005, 05:53:07

I like see:
LainaaMarzo 08, 2005, 05:53:07 PM

Thanks
Otsikko: Re: AM/PM time
Kirjoitti: Oldiesmann - maaliskuu 08, 2005, 04:58:46 IP
Weird... I have my time format set to display that, and as soon as I switch my language to Spanish, it doesn't show it...
Otsikko: Re: AM/PM time
Kirjoitti: [darksteel] - maaliskuu 08, 2005, 07:00:25 IP
the problem is in Index.spanish.php ... where? I don't know . I replace english archive and rename archive to .spanish, and work correctly showing PM or AM in time.

darksteel-
Otsikko: Re: AM/PM time
Kirjoitti: [darksteel] - maaliskuu 08, 2005, 07:37:26 IP
Fixed :P.

Search:
Lainaa$txt['lang_locale'] = 'spanish';
$txt['lang_dictionary'] = 'es';
$txt['lang_spelling'] = 'american';

Replaze:
Lainaa$txt['lang_locale'] = 'en_US';
$txt['lang_dictionary'] = 'en';
$txt['lang_spelling'] = 'american';

...
Otsikko: Re: AM/PM time
Kirjoitti: [Unknown] - maaliskuu 09, 2005, 03:06:14 AP
How do you have American Spanish?  Why was spelling ever set to american!?

-[Unknown]