Re:JavaScript Internationalization API
by thomasfoster96 on Friday December 26, 2014 @12:27AM
(#8798152)
Localize.js looks awesomely convenient.
I've just spent much of the past 10 days trying to think of how to internationalise and translate a web app. I'd resorted to writing my own dodgy JS client side solution, backed by something on the server side, but I'll take a good look at your solution now that I've seen it!
Re:JavaScript Internationalization API
by spacefight on Thursday December 25, 2014 @01:52PM
(#8796873)
I might be a potential target of your SaaS for one of my not yet fully localized web based applications.
But there is just no way that I can src="" your .js directly into my web application and therefore access to the DOM.
Could I still use your service somehow?
Localize.js requires adding our Javascript library to your page (like you do with Google Analytics, Optimizely, Mixpanel, etc). If you don't mind me asking, what is preventing you from adding a line of js code to your website?
Re:JavaScript Internationalization API
by spacefight on Thursday December 25, 2014 @02:52PM
(#8797010)
Security guidelines to not have any 3rd party JS.
Re:JavaScript Internationalization API
by chrisrogers on Thursday December 25, 2014 @03:23PM
(#8797093)
You could audit the code yourself and self-host.
Re:JavaScript Internationalization API
by spacefight on Thursday December 25, 2014 @03:56PM
(#8797187)
Sure, if the license permits that.
Internationalization is a notoriously difficult problem, and it's great to see some native API browser support. We definitely have a long way to go.