![]() |
![]() |
--free-- |
![]()
Post
#1
|
Goście ![]() |
Witam,
Potrzebuje zrobić stronkę wielojęzyczną. Znalazłem przykład na necie i stworzyłem w pliku index.php
w folderze /langs są pliki lang.class.php
oraz pliki pl.php oraz en.php gdzie są wpisy : <?php $lang['main_page'] = 'Strona główna'; ?> po wywołaniu strony index.php jest błąd : Fatal error: Call to undefined function __() in C:\Program Files\WebServ\httpd-users\tg\index.php on line 12 Serwer HTTP: Apache/2.2.6 (Win32) PHP/5.2.5 |
|
|
![]() |
-test- |
![]()
Post
#2
|
Goście ![]() |
zmieniłem na :
błądu nie ma ale jest cyzsta strona tekst sie nie wyświetił |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 14:59 |