Am 07.10.2014 um 11:49 schrieb Jo-Philipp Wich: > Hi. > > In principle I have no objections but we need to figure out a way on how > to deal with translation files. If stuff is split out of the LuCI repo > you have to take of that yourself. > > ~ Jow > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > Hi,
language support could be a problem, but what I tested for my ddns-scripts-luci (not yet published) you need three files from LuCI "system" files located inside ./build directory. - i18n-scan.pl to scan .lua and .js files for strings that need to be translated (creating the .pot file). - i18n-po2lmo.pl together with - po2lmo (binary) to scan the po/[lang] directories for creation of the final [app].[lang].lmo files. Both .pl files need some modifications to reflect the OpenWrt build structure. This should not be a real show-stopper. If the .pot template exists, everybody can edit the .po file easily and publish it via git. If a new .pot template is create due to code changes you can verify the .po against .pot and only need to update some translations. The other option is to find a way to make the LuCI distribution system more "public" like OpenWrt "base" and "packages" system. What I mean, if I push an update to OpenWrt, it takes max 24 hours until merged to trunk. My offer of a patch that rebuild current luci-app-ddns is pending at luci@lists... since 21. Sep. I also opened up a ticket at TRAC not knowing where it is "hanging around" I wrote a fix to OpenWrt TRAC Ticket #18018 reported on 03.Oct. which fixes problems in current 14.07 RELEASE and trunk. I resend on 04.Oct. - today is the 07.Oct. nothing happen. But with direct access, 2 fixes were merged into LuCI trunk. Sorry I'm German and there might be some "wrong words" inside my English. I want to work together with all of you to find a way to support our users and continue to build a more than brilliant system. Christian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel