1
flymirco
xlanguage question
  • 2008/1/11 2:27

  • flymirco

  • Just popping in

  • Posts: 42

  • Since: 2006/9/20


Hi to all,

in my theme there is a section with fixed menu link, how can I change the text language in it to show the appropriate language description?

<
class="menuHead" href="<{xoops_url}>/modules/article">Comunicatia>

<
class="menuHead" href="<{xoops_url}>/modules/article">Press releasea>

I'm looking for something that make this change dynamically every time there is a language switch.

Thanks in advance for the answer.

flymirco

2
irmtfan
Re: xlanguage question
  • 2008/1/11 3:36

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


its very easy just use language tags like this:

[en]Press release[/en][it]Comunicati[/it]

3
flymirco
Re: xlanguage question
  • 2008/1/11 10:32

  • flymirco

  • Just popping in

  • Posts: 42

  • Since: 2006/9/20


Thank you so much irmtfan, it works fine and it's an easy trick.
I didn't know this possibility in theme.

flymirco

Login

Who's Online

318 user(s) are online (264 user(s) are browsing Support Forums)


Members: 0


Guests: 318


more...

Donat-O-Meter

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

Latest GitHub Commits