1
ianez
xlanguage 3.01 and News
  • 2006/12/5 15:14

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


Hi there,
with xlanguage 3.01 and news 1.50 (and 1.44 also) I've the problem that I can't see the news title good for each language ad in the end if I have multil lang news content and multilang news title, I can see the first but the second is not working.

At this link
http://xoopsworks.isgreat.org/modules/news/index.php?storytopic=4&lang=english
you can see the tag [en that shouldn't be there and changing to italian lang the result is even worst...
when the news have only a language in the content with no langtags, the title of the news shows well in both languages..

hope there's some trick for this..

I've read some troubleshooting on xlang
here https://xoops.org/modules/newbb/viewtopic.php?topic_id=52483&
but didn' t solve
the hack in the second post couldn't be applied because the file is different

Ian

2
stefan88
Re: xlanguage 3.01 and News
  • 2006/12/5 16:50

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
on my test install news 1.5 and xlang 3.01 are working ok (xoops 2.0.13.2)
Do you have news module cached?

BTW, on your site I see only [en] in the begining of the english title. Everything else looks ok. (But I don't speak italian, so can't be shure)

Try to debug it - admin -> preferences -> PHP debug...
..

3
ianez
Re: xlanguage 3.01 and News
  • 2006/12/5 18:14

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


hi stefan,
if you click on italian flag, you'll see the italian content, but the title is wrong, because it shows the autor next to news category instead of showing the title, which is "testami" and is showed as pop up title of the link "inviato da", so something is messing up somewhere. And I've had similar bug with new 1.44. Ah forgetting I work on 2.0.16. Fresh install, no hacks, php 5.

I'll try some debug, but only news module semme affected

Ian

4
stefan88
Re: xlanguage 3.01 and News
  • 2006/12/5 18:37

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
I saw it. I did check my test system again, but it looks ok. It is xoops2.0.13.2, news 1.44, upgraded to 1.5, xLanguage 3.01, PHP4 (XAMPP)...

What I can think of is: clear the cache (both template and module if you have), check the files and templates...
If it is a test system, you can try to reupload the files for news module and update it from admin -> modules.
..

5
ianez
Re: xlanguage 3.01 and News
  • 2006/12/5 22:24

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


well cleaning chaces didn't work, is a fresh install and I don't have any addition...
may be upgrading news something went wrong I'll try to reinstall all.
I would like to receive a feedback on xlanguage on 2.0.16, even if the problem seems to affect news module....
exactly in the function $story.title which call category name and news title in the template.
I guess somethnign goes wrong in sanitizing html, because the italian text is outputted in the source of the page

thanx

Ian

6
ianez
Re: xlanguage 3.01 and News
  • 2006/12/6 0:26

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


ehi it worked!
I made a clean install of news and it worked...!
as you may see all is perfectly multilang now ;)
the only bug is that when I make a block for recent news in the home I can't set to show some text of the news in the block, cause changing the language it mess up the template...
I looking at the code in news_top.html but no idea ...

Ian

7
ianez
Re: xlanguage 3.01 and News
  • 2006/12/6 12:15

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


I've to add that the date format is not chamging to me form english n:g to italian g:n, that is the month remain alway before the day as in english language and don't change accordingly to the language/langfolder/global.php instructions.

Ian

Login

Who's Online

324 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits