Hi,
I’m trying to customize a button by the device language so I wrote these lines :
[lua]if (system.getPreference( “ui”, “Arabic” )) then
local ar = display.newImage(“AR.png”)
ar.x = 160; ar.y = 240;
else
local en = display.newImage(“EN.png”)
en.x = 160; en.y = 240;
end[/lua]
I’m testing on an arabic device but I don’t get the arabic button !?