Translational regulation of environmental adaptation in bacteria