Page 1 of 1
files missing from /www/i18n folder
Posted: Sun Sep 29, 2013 10:26 am
by ooker
Hi Folks,
I finally was able to get the gargoyle code to build (see this thread:
http://www.gargoyle-router.com/phpbb/vi ... f=7&t=4763 for details on what I had to do to get the build working)
But the final build was missing the language-specific files from the /www/i18n folder.
Are there new build config environment variables or build targets that need to be used to generate these files?
Does anyone know what might be causing this?
Can someone point me to the part of the build that should be generating these files?
Thanks!
Re: files missing from /www/i18n folder
Posted: Sun Sep 29, 2013 12:36 pm
by ooker
o.k. it looks like there may be some issue with the i18n defaults.
I found the About-i18n-2013.txt in packages/gargoyle-i18n, and based on the info their I tried a build with these options, and it worked, and can be loaded onto the router and the web interfaces works. YAY!!!
Code: Select all
make ar71xx TRANSLATION=localize FALLBACK_LANG=English-EN ACTIVE_LANG=English-EN
Re: files missing from /www/i18n folder
Posted: Mon Sep 30, 2013 10:41 pm
by BashfulBladder
Somehow my original post disappeared.
Anyway, I think you were right (yet again - so damn annoying). Its triggered when you 'make (platform)' like 'make ar71xx'. The first profile builds fine - I think - I've got that mjpeg-streamer problem now too. Its the remaining profiles that were messed up.
The fix is in my repository & have a pull request with Eric.
Thanks for finding & reporting the issue.
Re: files missing from /www/i18n folder
Posted: Tue Oct 01, 2013 10:54 am
by ooker
I saw your post before it disappeared, and I believe you had asked for zzz-gargoyle-i18n from /package-prepare/gargoyle-i18n/files/etc/uci-defaults
My build folder had the results of my build where I specified the language options as build parameters.
I tried a make FULL_BUILD=true ar71xx
Here's what ended up in that file (the same as after I specified the language). I'll try a clean pull into a separate folder and build that and post the results later.
Code: Select all
#!/bin/sh
uci set gargoyle.global.fallback_lang=English-EN
uci set gargoyle.global.language=English-EN
uci commit
mv /www/firstboot.i18n.sh /www/firstboot.sh
. /usr/lib/gargoyle/i18nServices.sh
change_menu_language "English-EN"
restart_lang_services
Re: files missing from /www/i18n folder
Posted: Tue Oct 01, 2013 2:10 pm
by BashfulBladder
It was a script not writing to gargoyle/ar71xx-src/.config to set which language to build.
If you build with 'make ar71xx', you can keep tabs on the config file in a separate window with 'tail gargoyle/ar71xx-src/.config' as you progress through the profiles. They should all end with something like this:
- CONFIG_PACKAGE_gargoyle-i18n=y
CONFIG_PACKAGE_plugin-gargoyle-i18n-Arabic-AR=m
CONFIG_PACKAGE_plugin-gargoyle-i18n-English-EN=y
CONFIG_PACKAGE_plugin-gargoyle-i18n-Polish-PL=m
CONFIG_PACKAGE_plugin-gargoyle-i18n-Portuguese-BR=m
CONFIG_PACKAGE_plugin-gargoyle-i18n-Russian-RU=m
CONFIG_PACKAGE_plugin-gargoyle-i18n-Spanish-ES=m
That zzz-gargoyle-i18n looks just as it should.
Re: files missing from /www/i18n folder
Posted: Tue Oct 01, 2013 10:08 pm
by ooker
after a clean pull and build the zzz-gargoyle-i18n file looks the same