extract hardcoded string into locale