Use the right local identifier

`[[NSLocale currentLocale] localeIdentifier]` returns the local identifier of the keyboard. `[NSLocale preferredLanguages][0]` returns the local identifier of the device.