TinyPortal

Development => Support => Topic started by: owpdanpooler on October 07, 2008, 07:25:21 PM

Title: Simple PHP coding Question
Post by: owpdanpooler on October 07, 2008, 07:25:21 PM
I'm sure this is a simple question but since I'm self taught I've yet to figure this one out.

   // Show the [help] button.
   echo   '<li><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

In the above code can you tell me what $txt[119] is and where to edit that or add a new $txt[567] etc...
:uglystupid2:
Title: Re: Simple PHP coding Question
Post by: IchBin on October 07, 2008, 07:32:58 PM
SMF localizes its product for others to translate by putting ALL strings into the $txt variables. They are located in the language files. Most likely you need to look in the index.english.php file in your default(core) theme languages folder.
Title: Re: Simple PHP coding Question
Post by: owpdanpooler on October 08, 2008, 02:23:06 AM
I see... thank you so much.