updated bootstrap and added code to handle locale internally