The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I want to include a library of variables that will hold the bulk of the standard text.
What I envision doing is saying if lang = english load english lib if lang = spanish load spanish lib etc the lib would look like this: $txtwelcome = "Welcome to my board" $txtlogin = "Please log in" Is this doable? What command do I use to include the files? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
If ($lang == "english) {
include ("englishlib.php"); } Elseif { etc.. and then echo $txtwelcome [Edited by Fquist on 05-12-2000 at 07:12 PM] |
|
#3
|
|||
|
|||
|
In a future version, we will be supporting multiple sets of templates, that the user/admin can select. That would make implementing multiple languages easy.
John |
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
so..whacha think?
|
![]() |
|
|