![]() |
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? |
If ($lang == "english) {
include ("englishlib.php"); } Elseif { etc.. and then echo $txtwelcome [Edited by Fquist on 05-12-2000 at 07:12 PM] |
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 |
|
so..whacha think?
|
All times are GMT. The time now is 06:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|