Cache-compatible locale system