Topic: New text to translate

Hi, I have a problem, I put on my image hosting some new text and I do not know how to add it to language file ... Who can tell me how I do this?
sorry for my English ...

Thumbs up

Re: New text to translate

ThaMCW wrote:

Hi, I have a problem, I put on my image hosting some new text and I do not know how to add it to language file ... Who can tell me how I do this?
sorry for my English ...

Replace your text with a varible. like so:

<?=TXT_EXAMPLEVAR; ?>

( just for your info that code above is the same as this code

<?php echo TXT_EXAMPLEVAR; ?>

)

Then in your language file of chose put this in it with your text as varible.

define('TXT_EXAMPLEVAR', 'Example text');

One note, the varible names are capital sensitive.

I hope this helps.
Gamerlv.

Thumbs up

Re: New text to translate

Thanks, you very helped me...

Thumbs up