FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » How could I make the user able to change language on the fly?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How could I make the user able to change language on the fly? [message #4594] Wed, 31 July 2002 20:26 Go to next message
vidaubannais is currently offline  vidaubannais   Germany
Messages: 23
Registered: July 2002
Karma: 0
Junior Member
I would like my users (international, multi-langual speakers) to be able to change the theme (e.g. language) of the forum on the fly without having to go to their properties to do so.
I was thinking about a pull-down list on the top right hand corner of all the windows for instance - But I have no idea if whould would be a challange to implement ...
Is there some lignes of code (from the user preferences php file for instance) I could copy and past where I need?
Is it as simple as this (I hope it is Rolling Eyes )
Re: How could I make the user able to change language on the fly? [message #4604 is a reply to message #4594] Wed, 31 July 2002 21:58 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It is pretty easy to do, all you need is to change 1 value inside the users table with an id of the theme you want to use to use.
The field you need change is 'theme', and you need to put a id of the theme from the themes tables into that field.

It is really easy to do.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Next major release?
Next Topic: The localisation could be much faster if ...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 10:34:04 GMT 2024

Total time taken to generate the page: 0.02424 seconds