RTL styling fix for language button

* fix styles so padding/border are correct when in RTL
* check the UI language to set proper 'dir' on the button

Change-Id: If5271d59a7d9fd36fefeda904721fe509c5a8b87