Site text system

0

I'm making a website that will support multiple languages, but the most difficult thing is the method of translating each word / phrase of the site. In case I was thinking of doing a system where the words will stay in a .txt file and assign them by example codes:

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

But I did not want to put inside a PHP call, but only the code (NAME.DO.SITE): the PHP system identified the site code in the .txt file and replaced it with its Word / Phrase (My Site) .

If anyone knows how to make this system, I will be very grateful.

    
asked by anonymous 18.06.2018 / 23:13

0 answers