jeresig / i18n-node-2

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
MIT License
507 stars 79 forks source link

module does not support bower install and and loading #41

Closed artemkaint closed 9 years ago

artemkaint commented 10 years ago

module has not valid bower.json file and universal amd load (e.x. requirejs for browser)

MaffooBristol commented 9 years ago

This is purely a nodejs module, but I agree that it would be nice if it could be polymorphic.

You'd have a to find a browser-based version of sprintf in order to get it to work, also a lot of the functionality such as automatically writing to the language file when it encounters a new phrase wouldn't work out of the box on the client.

tl;dr - it's a node module.

gjuchault commented 9 years ago

@MaffooBristol is right.