FryGUI

BlitzMax Forums/BlitzMax Programming/FryGUI

Actually, it's easier and makes more sense to just change xmlfrygui so that it does the translation when it parses the xml file.

If gText Then gText = GetLocaleText(gText)
If gHeading Then gHeading = GetLocaleText(gHeading)

That way, if you populate gadgets at run-time with text that isn't in your language file (team names for example) they won't get translated when displayed. (Text without a translation returns with an @ in front of it.)