Merge pull request #240 from paviro/patch-3

Added translation fallback note to documentation
This commit is contained in:
Michael Teeuw 2016-04-24 23:07:35 +02:00
commit 7a3db8f670

View File

@ -480,6 +480,8 @@ this.translate("INFO") //Will return a translated string for the identifier INFO
}
````
**Note:** Currently there is no fallback if a translation identifier does not exist in one language. Right now you always have to add all identifier to all your translations even if they are not translated yet (see [#191](https://github.com/MichMich/MagicMirror/issues/191)).
## MagicMirror Logger
The Magic Mirror contains a convenience wrapper for logging. Currently, this logger is a simple proxy to the original `console.log` methods. But it might get additional features in the future. The Loggers is currently only available in the core module file (not in the node_helper).