diff --git a/lib/src/translations.dart b/lib/src/translations.dart index 6dd89b59..c4f08cc2 100644 --- a/lib/src/translations.dart +++ b/lib/src/translations.dart @@ -13,7 +13,8 @@ class Translations { /// If we failed to find the key as a nested key, then fall back /// to looking it up like normal. - returnValue ??= _translations?[key]; + var maybeValue = _translations?[key]; + if (maybeValue is String) returnValue ??= maybeValue; return returnValue; }