tleeuwenburg / wordgraph

Thing that makes e
Apache License 2.0
12 stars 5 forks source link

Internationalization prior to Localisation #14

Closed candeira closed 9 years ago

candeira commented 9 years ago

I notice that the documentation says "This is a thing that supports creating English-language text from a graph description." However, it could also create Spanish-language text, or Chinese-language text. I have one suggestion:

tleeuwenburg commented 9 years ago

Hi Javier,

Thanks for stopping by! Fortunately, the code is already structured that way. The scope of English-language refers more to current functionality (user-focused) than limitation (developer-focused). I would love to support a second language -- for the basic functionality that's there now I don't think it would be hard to build, particularly with a little help. I had been considering doing one just doing a Google translate of the English text, but I expect that a "native" version would be better?

If you happen to have the time, I'd be more than happy to take you through the code so you can see how to add the functionality, but if not that's totally fine. It's on the wishlist :).

Cheers, -T

candeira commented 9 years ago

Oops duplicate. My internet was iffy, and I posted this one twice.