» »

PHP setlocale funkcija

PHP setlocale funkcija

warlord ::

V PostNuke sem dodal modul PostCalendar, lepo prevedel vse v slovenščino, sedaj pa imam manjšo težavo s prikazom imenov dni in mesecev v slovenščini. Po malce surfanja sem ugotovil, da moram n global.php (datoteka je del PostCalendarja, ne PHP-ja) nastavit jezik v slovenščino. Načeloma brez problema, jest sem pa kljub temu uspel naletet na enega.
Tole je koda:
**
* $Id: global.php,v 1.15 2002/12/19 20:09:09 iansym Exp $
*
* PostCalendar::PostNuke Events Calendar Module
* Copyright Š 2002 The PostCalendar Team
* http://postcalendar.tv
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* To read the license please read the docs/license.txt or visit
* http://www.gnu.org/copyleft/gpl.html
*
*/

//=========================================================================
// The following define is necessary for the date and time functions
// set it to the locale for this language
//=========================================================================
define('_PC_LOCALE','si_SVN');
//=========================================================================
// Defines used in all files
//=========================================================================
// new in 3.9.9
define('_PC_NOTIFY_ADMIN', 'Obvesti admina o spremebah ali novih dogodkih?');
define('_PC_NOTIFY_EMAIL', 'Admin Email naslov');


Težavna je vrstica define ('_PC_LoCALE','...);

A kdo za hudiča ve, kaj je treba vnest tam notr?

Hvala za pomoč.

darh ::

sl_SI za slovenščino.
Excuses are useless! Results are priceless!

warlord ::

:))

sej komentar ni potreben, a ne?


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

Patenti - Copyright, Copyleft, GNU, Apache, ... Licence

Oddelek: Pomoč in nasveti
172302 (2047) Icematxyz
»

Telstra domnevno krši GPL

Oddelek: Novice / Avtorsko pravo
144372 (3692) CCfly
»

Projekt GNOME praznuje 10. obletnico (strani: 1 2 )

Oddelek: Novice / Ostala programska oprema
599602 (7966) 'FireSTORM'
»

TV tuner pod Linux-om

Oddelek: Operacijski sistemi
151675 (1437) Skrat
»

MySQL in Visual Basic

Oddelek: Programiranje
111843 (1645) krho

Več podobnih tem