[Minor] Added logger to know how initialized

This commit is contained in:
Robert von Burg 2020-03-16 12:04:03 +01:00
parent 605638fb64
commit 10eedb9111
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"name": "strolch-wc-localize-behavior",
"description": "Strolch Polymer Localization Behavior extension",
"version": "1.1.5",
"version": "1.1.6",
"authors": [
"Franz Nieschalk",
"Robert von Burg"

View File

@ -6,6 +6,7 @@
StrolchLocalizeBehaviorImpl = {
attached: function () {
var locale = Strolch.getUserLocale();
console.log("Initializing for '" + this.localName + "' for locale " + locale + " and path " + this.localesPath);
// load the language resource of the configured language
this.language = locale;