Re: [polymer-dev] Re: How to use app-localize-behavior in LitElement?

2019-02-07 Thread Juan Lorenzo Llanes
Hi I tried use lit-translate but only works in typescript environment and all the application to translate is writed in javascript :( :( On Thursday, February 7, 2019 at 7:25:34 PM UTC-3, Justin Fagnani wrote: > > app-localize just wraps format.js. You'd be bringing in a lot of Polymer >

[polymer-dev] Re: How to use app-localize-behavior in LitElement?

2019-02-07 Thread Juan Lorenzo Llanes
I tried But I have an error with the mixin beacuse is waiting a PolymerElement instead a Litelement updating-element.ts:500 Uncaught TypeError: Cannot read property 'forEach' of undefined at HTMLElement._saveInstanceProperties (updating-element.ts:500) at HTMLElement.initialize

Re: [polymer-dev] Re: How to use app-localize-behavior in LitElement?

2019-02-07 Thread 'Justin Fagnani' via Polymer
app-localize just wraps format.js. You'd be bringing in a lot of Polymer weight just for that. I'd try to use format.js directly or something lit-html specific like https://www.npmjs.com/package/@appnest/lit-translate On Thu, Feb 7, 2019 at 1:44 PM wrote: > try this: > > > // Import

[polymer-dev] Re: How to use app-localize-behavior in LitElement?

2019-02-07 Thread rtforti
try this: // Import AppLocalizeBehavior import {AppLocalizeBehavior} from '@polymer/app-localize-behavior'; // Import a utility class to treat legacy behaviors as mixins import {mixinBehaviors} from '@polymer/polymer/lib/legacy/class'; class Editor extends

[polymer-dev] Re: Investment Inquiry on our 1st Party Client

2019-02-07 Thread 'Attorney Roberto Goncalves, SJD' via Polymer
07.02.2019                             Re: Investment Inquiry on our 1st Party Client Dear Sir, We feel quite safe dealing with you in this important business deal. Though, this medium (Internet) has been greatly abused, but we choose to reach you through it because it only means in which we