I did something wrong on my LG optimus one p-500 smartphone and accidentally switch keyboard layout.
Press and hold 123 key to get to number mode and from there select your Keyboard layout.
This document, titled « LG Optimus One - Switch keyboard layout », is available under the Creative Commons
license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM