Hey guys i got a question, im writing this with my mobile phone so sorry if i mess up a bit.
At the moment i translating the UI of my Game for 20 Languages, every language is stored in an array.
The problem is this part were i have to fill the string into the text.
If (Language == German && Topic == Menue)
{
Text1 = GermanMenue1;
Text2 = GermanMenue2;
…
Text20 = GermanMenue20;
}
If (Language == English && Topic == choose_level)
{
Text1 = EnglishChoose_level1;
Text2 = EnglishChoose_level2;
…
Text9 = EnglishChoose_level9;
}
etc. etc.
Thats huuuge work since i have a lot of languages and topics, so i need something to make it easy here
I was thinking of something like a For loop but i dont know how to do it since thats strings and not numbers…