diff --git a/src/lang.js b/src/lang.js index 781de3d..7f9b167 100644 --- a/src/lang.js +++ b/src/lang.js @@ -294,7 +294,7 @@ subKey = ''; while (entries.length && message !== undefined) { var subKey = !subKey ? entries.shift() : subKey.concat('.', entries.shift()); - if (message[subKey]) { + if (message[subKey] !== undefined) { message = message[subKey] subKey = ''; }