Retrieves a localized string by key, returning a default message if not found.
String translate(String key) { return _localizedStrings[key] ?? 'Translation not found'; }