Fix localization of title hack
Improve locale hack