02.09.2014, 15:02
That is the best way to make multilanguage gamemode? Use files to keep each translation in certain file, or what? Need some advices
[test] TEST_MESSAGE = This is English TEST_MESSAGE WHATEVER_MESSAGE = This is English WHATEVER_MESSAGE
[test] TEST_MESSAGE = This is French TEST_MESSAGE WHATEVER_MESSAGE = This is French WHATEVER_MESSAGE
loadtext text[test];
public OnGameModeInit()
{
Langs_Add("EN", "English");
Langs_Add("FR", "French");
}
Text_Send(playerid, $TEST_MESSAGE);
Text_Send(playerid, $WHATEVER_MESSAGE);