The online racing simulator
Language Select
You can use this script to use multiple languages ​​on your server!

Languages ​​available in the menu;

Turkish
English
Portuguese
Italian
French
German


I have stated below what you need to do to use more than one language in a different script;

First Step
Paste the code I gave below at the bottom of your script, you need to paste the same code for each language.

<?php 
Lang 
"EN"
    
exampletranslate "Lorem Ipsum";
EndLang
?>


Second Step
For example, you want to use this message in a chat message, use the code I gave below in privMsg();

<?php 
privMsg
langEngine("%{exampletranslate}%") );
?>

Final Step
Enjoy It!
Attached images
resim_2023-11-15_014805820.png
Attached files
language.txt - 3.2 KB - 91 views
Good thinking
Great

FGED GREDG RDFGDR GSFDG