make sure that a translation page exists before getting the locale