[Minor] Added logger to know how initialized
This commit is contained in:
parent
605638fb64
commit
10eedb9111
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "strolch-wc-localize-behavior",
|
"name": "strolch-wc-localize-behavior",
|
||||||
"description": "Strolch Polymer Localization Behavior extension",
|
"description": "Strolch Polymer Localization Behavior extension",
|
||||||
"version": "1.1.5",
|
"version": "1.1.6",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Franz Nieschalk",
|
"Franz Nieschalk",
|
||||||
"Robert von Burg"
|
"Robert von Burg"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
StrolchLocalizeBehaviorImpl = {
|
StrolchLocalizeBehaviorImpl = {
|
||||||
attached: function () {
|
attached: function () {
|
||||||
var locale = Strolch.getUserLocale();
|
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
|
// load the language resource of the configured language
|
||||||
this.language = locale;
|
this.language = locale;
|
||||||
|
|
Loading…
Reference in New Issue