So, you send back the button title probably, which is effectively localized
Did you consider using buttons tags ?
I would do this:
1) On app load, swift will pick up 6 random items from a strings array of 100 items.
keep track of the index of each item selected
2) It will display each of those 6 strings on 6 user interface buttons.
Set the button tag with the index you have used to set its title.
3) User will tap on a button: string value is sent back into app.
send back the tag value instead.
4) App will do processing with this value. Problem is that all internal processing from that values that went out from the array on user interface then back in app, is all done with english values. In particular that user choice is saved in external database, and I can't have saved in database localized versions: all internal processing on array values in english.
To do the processing, get back the string value from the array, using the index you received.
If there are still problem, please explain.
Otherwise, don't forget to close the thread on this answer.
Goos continuation.