How to add a keyboard layout to the login screen?

Add the layouts that you desire under System Settings --> Keyboard layout, and when you login you will be able to choose the layout of your choice.

enter image description here

For 14.04

enter image description here