List of possible countries associated with system.getPreference( "locale", "country" ) ?

Hi,

I want to slightly customize the content of my game depending on the country the game is being played in,  this doesn’t have to be too exact so I was thinking of using “system.getPreference( “locale”, “country” )” and then just using if statements (only going to change one graphic).  

Where can I find a list of the values that could be returned by “system.getPreference( “locale”, “country” )”? Will this work or have I over simplified it??

Cheers,

Craig

First thought, I would assume the list of countries per platform would be provided by the platform API itself - so, for example, take a look at the documentation for iOS developers for iPhones, etc. And so on. There doesn’t appear to be an explicit list on the Corona docs, but there are downloadable lists of icons on the web which use the two character nomenclature to denote country. That would probably yield  a good starting point.

First thought, I would assume the list of countries per platform would be provided by the platform API itself - so, for example, take a look at the documentation for iOS developers for iPhones, etc. And so on. There doesn’t appear to be an explicit list on the Corona docs, but there are downloadable lists of icons on the web which use the two character nomenclature to denote country. That would probably yield  a good starting point.