Forum » Programiranje » 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:
Težavna je vrstica define ('_PC_LoCALE','...);
A kdo za hudiča ve, kaj je treba vnest tam notr?
Hvala za pomoč.
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č.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Patenti - Copyright, Copyleft, GNU, Apache, ... LicenceOddelek: Pomoč in nasveti | 2302 (2047) | Icematxyz |
» | Telstra domnevno krši GPLOddelek: Novice / Avtorsko pravo | 4372 (3692) | CCfly |
» | Projekt GNOME praznuje 10. obletnico (strani: 1 2 )Oddelek: Novice / Ostala programska oprema | 9602 (7966) | 'FireSTORM' |
» | TV tuner pod Linux-omOddelek: Operacijski sistemi | 1675 (1437) | Skrat |
» | MySQL in Visual BasicOddelek: Programiranje | 1843 (1645) | krho |