Page 2 of 2

Re: Gargoyle localization

Posted: Mon Jun 03, 2013 9:32 pm
by BashfulBladder
I did the initial commit.

https://github.com/BashfulBladder/gargo ... /i18n-2013

I got rid of the speed penalty on page loads - it cost 18,000 bytes in code bloating to haserl, but at least its fast now.

Re: Gargoyle localization

Posted: Tue Jun 04, 2013 7:53 am
by Eric
(1) This work looks amazing!

(2) I commented on github, but I'll mention it again here: while BashfulBladder has implemented his solution #2 (mod haserl to do direct lookups), I'm partial to #3 (use javascript to hold variables & window.onload to fill in variables). This is because a lot of variables have to be javascript variables to begin with, so keeping everything in javascript may be the easiest way to go. Keep in mind that browsers tend to cache javascript so it won't have to be reloaded every time. Of course... I completely realize that you're doing most of the work on this project, so I can't be too picky ;-) I'm just very grateful that this is getting done (it's been something I've been meaning to do but putting off for a while).

Re: Gargoyle localization

Posted: Tue Jun 25, 2013 9:22 am
by BashfulBladder
A progress report for anybody interested:

• the basic framework has been hammered out & is working well
• 30 out of 45 (or so) standard pages are done.
• 1 plugin (usb_storage) is done

What isn't done:
• the other 15 (mostly easy) standard pages
• most plugins including the big&nasty OpenVPN
• SVG graphics will require some some code reworking I think
• firstboot.sh needs to be updated
• some backend script work (init.d, installing)
• compile-time build scripts to reintegrate text back into webpages to make for example an All-Spanish 4MB firmware image

Re: Gargoyle localization

Posted: Thu Jun 27, 2013 4:50 pm
by wwenigma
:shock: Of course, thank you for your hard work!

Re: Gargoyle localization

Posted: Fri Jun 28, 2013 1:06 pm
by Eric
For anyone interested, I have a separate branch in the main repo that is tracking BashfulBladder's work on internationalization.

As soon as this is ready for release, I will merge it into the master branch. This is ABSOLUTELY going to be merged and included in official releases when complete.

Re: Gargoyle localization

Posted: Tue Jul 02, 2013 10:41 pm
by BashfulBladder
I have uploaded a developer preview here:

http://www.gargoyle-router.com/phpbb/vi ... =14&t=4447

for a small subset of routers.

Re: Gargoyle localization

Posted: Mon Oct 28, 2013 6:30 am
by wwenigma
I start translating gargoyle to hungarian language, but when i want to test it, how to make only this package? It always recompile everything. :D

Re: Gargoyle localization

Posted: Wed Dec 04, 2013 10:30 am
by wwenigma
wwenigma wrote:I start translating gargoyle to hungarian language, but when i want to test it, how to make only this package? It always recompile everything. :D
It seems to be a really hard question.