There seem to be a lot of people, not just me, who want to customize text. Why do you need to insert text with your routine and cannot allow people to do editing on their own language files???

Just have a .lang file for each .pl file. Or even better, a login.english, login.german, login.chinese language file. Or short login.en, login.ch, login.ge
$language_chosen="chinese";#default is english
require 'this_script_name.$language_chosen'.

And if you really are worried about slight loss of efficiency, then just add another language version called:
multilanguage
and keep your 15 other language versions the way you are keeping them now.


This allows people to have
a) privately modified english text
b) easily make their own language versions
c) make multilanguage boards, where a simple link switches between languages, and the user can choose a language in his settings.
While we are at this, please consider
a) instead of table markups, put $variables, like $td_end="</td>", $table_start1="<table ......>"; thus there is an easy way to reprogram the entire wwwthreads to NOT use table format, by redefining $td_end="< br >". To make it look like the beloved Matt's board (most people love to see what they are familiar with)