OpenWrt Forum Archive

Topic: OpenWRT LuCI theme and language customization

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm trying to customize OpenWRT for my platform to change language and theme, so I added a custom ect/config/luci with language and theme settings. After compiling the settings I get in the /etc/config/luci at rootfs folder are the LuCI default settings. OpenWRT completely override the settings I try to set.

Please could anybody tell how to change this OpenWRT behaviour?

(Last edited by iso9660daniel.mosquera on 1 Sep 2014, 15:14)

Hi,

inside the build tree or the imgaebuilder tree there needs to be a folder called "files". for custom build settings.
This "files" folder is the root of your customized files.
This structure is copied last during the build process just before creating the image.
Have a look at http://wiki.openwrt.org/doc/howto/build

chris5560 wrote:

Hi,

inside the build tree or the imgaebuilder tree there needs to be a folder called "files". for custom build settings.
This "files" folder is the root of your customized files.
This structure is copied last during the build process just before creating the image.
Have a look at http://wiki.openwrt.org/doc/howto/build

It worked like a charm,
Many thanks

I noticed you deleted this post:

Hi,
I'm trying to customize OpenWRT for my platform to change language and theme, so I added a custom ect/config/luci with language and theme settings. After compiling the settings I get in the /etc/config/luci at rootfs folder are the LuCI default settings. OpenWRT completely override the settings I try to set.
Please could anybody tell how to change this OpenWRT behaviour?

What i have done so far is add to the openwrt scripts and then add these scripts to the buid as you have done (thanks to Dairyman). I have added jquery mobile .css .js files along with the usual www/luci-static/openwrt.org/cascade.css file.
One thing i found is when you make these changes and you need to see if it has made a difference is you need to go into TOOLS>CLEAR BROWSER settings in Chrome (if you are using crome) before you see the changes.

I would love to get this theme to be completely standalone but it would mean somehow telling openwert/luci not to use the cascade.css files contents throughout its formatting. IT is a pain to add to it and if you have the time it would be worth a complete re-write but i am doing this after work finishes each day and i have a baby and wife to tend to also = not much time.

Checkout this post of mine it may help:

http://forums.whirlpool.net.au/forum-re … ;p=37#r737

The discussion might have continued from here.