Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Changes

Jump to: navigation, search

Lazarus Guest Book - Multi-lingual Installation

No change in size, 21:48, 17 August 2008
m
If you have '''''multi-language''''' support in TNG
You must add language-dependent text to '''''each''''' TNG language folder
* For '''''each''''' language folder (English, French, etc) you must edit the '''textcust_text.php''' file
Near the bottom <font color=blue>* Some versions of TNG only have the '''textcust_text.php''' file in the ''primary language'' folder. All you need to do is to copy the original '''cust_text.php''' file into '''''each''''' of the ''secondary langage folder(s)''. Of course, you will find need to edit each of them to provide the corresponding translation from one language into another.</font> Here is an example of the words'''cust_text.php''' file in the '''English''' folder:
<pre>
// Text to appear in the TNG menus for the linkage to the Guestbook
$text['MYgblink'] = "Guest Book";
// Text to appear in the title on the Guestbook page:
$text['MYgbtitle'] = "Welcome, please sign our Guest Book";
global $rootpath;
</pre>
Insert two lines Here is an example of the ''above'cust_text.php' that statement to give the proper language spellings. Here is '' file in the '''EnglishFrench''' example.folder:
<pre>
// Text to appear in the TNG menus for the linkage to the Guestbook
$text['MYgblink'] = "Guest BookSignez notre Livre d'or";
// Text to appear in the title on the Guestbook page:
$text['MYgbtitle'] = "Welcome, please sign our Guest BookLivre d'or de OurGenealogySite.com";
global $rootpath;
</pre>
 
* <font color=red> Be sure to SAVE the file, and then repeat the same process for '''''each''''' language folder, using the correct language for the text inside the double-quotes.
</font>
 
== Creating a php file in TNG to access your guest book ==
44
edits

Navigation menu