• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

New text to translate

ThaMCW

Chevereto Noob
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 ...
 
ThaMCW said:
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:
Code:
<?=TXT_EXAMPLEVAR; ?>
( just for your info that code above is the same as this code
Code:
<?php echo TXT_EXAMPLEVAR; ?>
)

Then in your language file of chose put this in it with your text as varible.
Code:
define('TXT_EXAMPLEVAR', 'Example text');

One note, the varible names are capital sensitive.

I hope this helps.
Gamerlv.
 
Back
Top