katjam / local-elm Goto Github PK
View Code? Open in Web Editor NEWTranslation support for programming in Elm
Translation support for programming in Elm
The goal would be that it is as seamless as possible for developer experience so rather than forking the compiler, we are thinking wrap e.g. dev hot reloads with something.
How should a user select her translation?
So here are three example ideas (continued from #1 (comment))
One executable per locale
The user could download a specific build that is translated into one language.
If it is a forked Elm compiler, she could place it in an executable path and name it elm
.
One executable that donwloads translation resource files
This would be strange at first, because one compelling thing about Elm is that it is a single binary.
But maybe it won't be so bad, if the additional translation files are only download when requested by the user and stored in $ELM_HOME
.
The user could use a command like elm-local switch-locale=de
or specify an environment variable like $ELM_LOCALE
.
One executable with multiple translations built-in
The selection of the locale could be the same as with 2, but no downloads would be needed.
Edit: I changed the text, because it does not have to be a compiler fork, it could be any tool.
The majority are in one place. We can deal with others in a second pass.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.