PDA

Zobacz pełną wersję : Gallery G2 zmiana języka



misiakxx
10-08-2007, 15:12
zainstalowalem Menalto Gallery 2 na stronie http://www.crossen.nazwa.pl/crossen/index.php?option=com_gallery2&Itemid=28 . Język w galeri mam ustawiony na polski lecz nie wyswietlaja sie polskie litery. co zrobic?

josh
10-08-2007, 20:47
na forum autora pomostu jest opisane ja poprawic wyswietlanie, wynik to stad ze galeria jest kodowana w utf a strona w iso

pozdr

misiakxx
10-08-2007, 21:04
niestety na forum nie ma odpowiedzi-tak samo w FAQ

josh
10-08-2007, 21:14
http://trac.4theweb.nl/g2bridge/wiki/FAQ

fragment FAQ-a:
Charset ¶ (http://trac.4theweb.nl/g2bridge/wiki/FAQ#Charset)

Gallery 2 uses the utf-8 charset and instead of the default joomla iso charset. This can give problems with special characters like but not limited by: "éáëéèü"
Convert Gallery 2 output to joomla char set ¶ (http://trac.4theweb.nl/g2bridge/wiki/FAQ#ConvertGallery2outputtojoomlacharset)

component changes in ../components/com_gallery2/pages/main.php:

misiakxx
10-08-2007, 21:27
niestety ten FAQ jest niewazny-inni forumowicze tez to zauwazyli http://forum.4theweb.nl/showthread.php?t=1027 . nie ma nawet takiej sciezki

josh
10-08-2007, 21:49
to sprobuj uzyc takiego haka na pliku index.php joomli:

// Hack to make Gallery2 have the right encoding ...
if($option == 'com_gallery2') DEFINE('_ISO','charset=utf-8');
// Hack end, next lines are already in the index.php, put the hack right here

// loads english language file by default
if ($mosConfig_lang=='') {
$mosConfig_lang = 'english';
}
include_once( 'language/' . $mosConfig_lang . '.php' );


zrodlo: http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,137/Itemid,35/limit,15/limitstart,15/

josh
11-08-2007, 08:12
jak nie pomaga, to jest jeszcze inne wyjscie postawic joomle z kodowaniem w utf-8

przyklad ze dziala: http://soc.uwb.edu.pl
pozdr