Comments (1)
Hi @chris5560, sorry for the late reply.
Right now luci-ng is undergoing a revision on the way pages are wired, and it should be better to wait a bit till the API is more settled before migrating new applications.
The idea is to have two ways to define apps:
- "manual" writting of the http/js components, which gives total control of the app
- a simpler and more "automatic" way, with just a .json file describing the configuration. The html will be automatically generated, no code needs to be written.
A very very basic idea of the approach can be found in PR #24
Regarding localization, some more work still needs to be done to finish implementing a functional feature, it is still very much work in progress.
I added some helper task that should eventually be used:
first run: gulp translate:pot
this will generate the template to use as source for translations.
You generate your translated .po file and save it in a po/ subdirectory
then running: gulp translate:json
will generate the file needed to be added to luci.
But the problem is that still the interface for loading the translations is not developed yet.
from luci-ng.
Related Issues (20)
- IRC Minutes
- luci-ng blocks build HOT 2
- Luci-ng general HOT 16
- How to use the new node.js tools? HOT 1
- Why not continue to develop?
- (feat) Switch to websockets based transport for Ubus HOT 1
- (feat) Integrate legacy Luci views inside new Luci-ng app HOT 1
- What is the follow-up development plan for luci-ng? HOT 1
- (feat) ui-core: save workflow
- luci-vue HOT 1
- luci2-ui-base-2017-11-27-e439ce6 doesn't build HOT 1
- luci2-ui-base-2018-06-12 build failed on Ubuntu 18.04, Thanks HOT 1
- can ui-core be run on windows or only on openwrt? HOT 1
- What is a status of the project? HOT 3
- Add a license to the project. HOT 2
- Issues with local time
- Consider using Mithril+Tachyons for UI instead of Angular
- it's still developed ?
- luci2 build error openwrt 19.07.3 HOT 1
- Build Failed on Openwrt 19.07.7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luci-ng.