| Re: Easiest Multi-Language Hack doesn't change codepage |
| by irmtfan on 2008/1/21 3:05:37 No dont mess your site. you have some options: 1- use xlanguage from phppp (i recommended) 2- use a hacked version of emlh that allowed change XOOPS lang. http://www.irxoops.org/modules/wfdownloads/singlefile.php?cid=4&lid=217 |
| Re: Easiest Multi-Language Hack doesn't change codepage |
| by hrac on 2008/1/20 18:25:12 Thanks for help. This seems to be worked. Bu there is another strange problem: I can see <meta http-equiv="content-type" content="text/html; charset=ISO-8859-9" /> <meta http-equiv="content-language" content="tr" /> But very strangely, Firefox and Internet Explorer was set the codepage to ISO-8859-1, which is Xoops' default language's charset. I don't understand how this happens. I have a web page. I open the page source. I noticed that charset and language is correct in the page source, but browser's charset or codepage set to different codepage. I don't understand how this could be. Another point: I get one blank line in page source just before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> But there is no line break in theme.html file. Any idea? |
| Re: Easiest Multi-Language Hack doesn't change codepage |
| by stefan88 on 2008/1/20 16:51:34 Hi, I'm not familiar with EMLH and not using it, but if Quote: but it change anything between [lang][/lang] even in the php/html code pages. then can't you just replace: Quote: <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> with something like: Quote:
in your theme? |
| Re: Easiest Multi-Language Hack doesn't change codepage |
| by hrac on 2008/1/20 16:27:42 but I have 3 different languages and all of them uses different code pages (lang1: ISO-8859-1, lang2: ISO-8859-9 and lang3: UTF-8). If EMLH doesn't change code pages correctly, my pages will not shown correctly :( If lang3 shown with codepage ISO-8859-1 it displays rubbish letters, but it was supposed to be display Armenian letters. The only thing I need from EMLH, to be able to change codepage (_CHARSET and _LANGCODE) of the pages. Is it any way to do this? |
| Re: Easiest Multi-Language Hack doesn't change codepage |
| by irmtfan on 2008/1/20 15:23:47 i cant understand you. EMLH just cant change XOOPS language.Gijoe decided to not add this feature because by adding that feature the XOOPS cache system is not work either. but it change anything between [lang][/lang] even in the php/html code pages. |