Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:02 pm EST

Geeklog Forums

Change default language w/out register/login.


Guillermo Lo Coco

Anonymous
Dear friends,

How can I place a simple flag button to change language without log in or register ?

Sorry if it is a stu_d question, but i couldnt find it.

Thanks a lot.
Best regards!
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Is there still a language block for switching the system language for guests?
 Quote

Guest

Anonymous
Of course there is.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: 1000ideen

Is there still a language block for switching the system language for guests?


There's phpblock_switch_language(), but it's really only meant for multi-language setups (where you also have the content in various languages).

You will need some PHP code that sets the visitor's language cookie.

bye, Dirk
 Quote

All times are EST. The time is now 11:02 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content