Giter VIP home page Giter VIP logo

dialect's People

Contributors

hannesgassert avatar kof avatar masylum avatar poetro avatar rburns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dialect's Issues

Add support for client-side translations

Dialect currently does not help when clients are rendered on the client side. It would be very nice to have some basics implemented for :

  • passing tranlsations to the client
  • having t() (or a basic version of it) available as a helper in underscore ore jQuery templates

Any thoughts on this one, @masylum you probably have experience with this situation?

Dialect creating lots of files in mongodb/data

We are requiring dialect in our package.json file:

"dialect" : "1.0.2"

After running npm install there is an excessive amount of data (1.4GB) in this folder:

node_modules/dialect/node_modules/mongodb/data

I am unable to figure out what is causing this and I'm looking for help.

Thanks,
Robert

Add support for XLIFF

I would like to extend dialect for XLIFF files.

Just one issue: I would like to leave interactive functions like approve and add for later, as the main objective for me is reading the file, not writing. Would that be ok for you?

What would be your requirements for me to add a pull request?

Cheers

Felix

Can't install dialect via npm due to funk version reference

Upgrade funk to 0.0.2 in the package.json file. Currently dialect is not installable due to referring to 0.0.1:

npm install dialect
npm info it worked if it ends with ok
npm info using [email protected]
npm ERR! Error installing [email protected]
npm ERR! Error: version not found: 0.0.1 undefined: funk/0.0.1
npm ERR!     at IncomingMessage.<anonymous>      (/home/isaac/apps/node/lib/node/.npm/npm/0.2.5-1/package/lib/utils/registry/request.js:98:19)
npm ERR!     at IncomingMessage.emit (events.js:41:20)
npm ERR!     at HTTPParser.onMessageComplete (http.js:112:23)
npm ERR!     at Client.onData [as ondata] (http.js:889:27)
npm ERR!     at IOWatcher.callback (net.js:498:29)
npm ERR!     at node.js:634:9
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <[email protected]>
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

Per-request translations?

Is anyone using Dialect to serve translated pages on a per-request basis? It appears to me that there is no request context available to Dialect.

mysql

I'm trying to add a mysql store, the problem I am facing:
though the entry doesn't exist, it tries to issue an update command:

UPDATE dialect SET translation = 'Hola Mundo!', approved = 0 WHERE original = 'Hello World!' AND locale = 'es'

I wonder, why doesn't it insert a new row or something, or why is sqlite doing it that way? Does it work on sqlite?
(I'm using most of the sqlite code base right now)

SQLite as dependency

There are several issues with installing sqlite package on node (it says 0.6.x fails, but I'm facing errors with 0.8.0):

Installing sqlite from this fork helps (AFAIK, it fixes somehow missing node_events.h).

I think removing storage packages from dependencies should be considered. (Maybe adding them to devDependencies or something.) One more reason for this is when user selects Mongo as storage he probably never gonna use SQLite and vice versa.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.