Tetra WebBBS Documentation
Running forums in languages other than English
Of course it's possible to run Tetra-WebBBS in languages other than English.
The question is, whether or not your forums all use the same language!
Select the appropriate solution from the two options explained:
(1) All your forums use the same language.
The solution is as simple as translating the appropriate script holding all texts used by the vanilla scripts.
Locate the file webbbs_text.pl, open it, translate, save and upload to your server (ASCII). - Done.
In the download the file is located in /cgi-bin/bbs...x/lib.
One note though:
Remember you're editing a script, not a textfile. Use a simple texteditor such as Notepad. Do NOT use Word for example!
Besides that, it's always a good idea to keep a backup copy of the original file.
(2) You want to run forums in different languages.
That's a little more work, but basically simple as well.
The following example is based on the folder-structure in the download. In case you're using a different folder-structure on your server you'll need to correct the paths accordingly.
Let's go for an example to run forums in English, French and Spanish:
(a) First locate the file webbbs_text.pl. It's supposed to live in the folder /cgi-bin/bbs..x/lib.
(b) Create two folders /French and /Spanish alongside the /lib folder. Copy one webbbs_text.pl file into each of these folders.
As a result you should have the following three subfolders in /cgi-bin/bbs...x: /lib, /French, /Spanish. Each of them holding one webbbs_text.pl file.
Translate the texts inside webbbs_text.pl according to your whishes.
(c) Assume the entry scripts for your forums are called englsh.pl, french,pl and spanish.pl.
Open the french.pl file. In section(2) add the following two lines:
use lib '/full/path/to/folder/lib';
use lib '/full/path/to/folder/French';
NOTE: 'full/path/to/folder' must be replaced by.... well, the full path valid on your server.
The 'use lib' line pointing to the translated webbbs_text.pl file MUST be written AFTER the 'use lib' line to the default language file.
Redo (c) for the 'spanish.pl' entry script.
(d) Upload everything to your server (ASCII) and you're done.
NEVER change the filename webbbs_text.pl. The name MUST stay as is in the download!