You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@jow- I would like to start to develop the first applications for your project.
Could you please offer a skeletal structure where to easily start and how to implement localisation.
Many thanks
The text was updated successfully, but these errors were encountered: