files missing from /www/i18n folder

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Post Reply
ooker
Posts: 18
Joined: Tue Aug 27, 2013 9:26 am

files missing from /www/i18n folder

Post 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!

ooker
Posts: 18
Joined: Tue Aug 27, 2013 9:26 am

Re: files missing from /www/i18n folder

Post 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

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: files missing from /www/i18n folder

Post 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.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

ooker
Posts: 18
Joined: Tue Aug 27, 2013 9:26 am

Re: files missing from /www/i18n folder

Post 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

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: files missing from /www/i18n folder

Post 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.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

ooker
Posts: 18
Joined: Tue Aug 27, 2013 9:26 am

Re: files missing from /www/i18n folder

Post by ooker »

after a clean pull and build the zzz-gargoyle-i18n file looks the same

Post Reply