• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

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