Text system of the website

Asked

Viewed 50 times

0

I am making a website that will support several languages, but what makes it more difficult is the method of translation of each word/phrase of the site. In case I was thinking of making a system where words will be in a file . txt and assign them by codes example:

NOME.DO.SITE=Meu Site
CODIGO.1=Texto/Frase

But I didn’t want to put inside a PHP call, but only the code (NAME.DO.SITE): the PHP system identified the site code in the file. txt and replaces it with your Word/Phrase (My Website).

If anyone knows how to do that system, I’d be very grateful.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.