Re: Internationalization on the new site

Florent Daigniere <[email protected]>
Newsgroups gmane.network.freenet.devel
Message-ID <[email protected]>
On Sun, 2016-10-30 at 17:47 +0000, Ian Clarke wrote:
> I'm open to AWS, however if Dan has already built on Jekyll will there
> be a lot of work to switch to something like Hugo?


I don't think so; We don't need any fancy feature.

> Still an imperfect solution to the internationalization problem, but
> perhaps we just need to accept that.



There is no silver-bullet without server-side support... and AWS can't
help us with that yet (you can have different origins depending on paths
but not headers).

> Florent, if we decide to go with AWS, will you have time to to set
> things up?
> Ian.
>  


Yes, AWS is something I've practised recently and it won't be a
problem... The only real question is how we will deal with the billing
(few cents a month but it has to be paid by card).

Florent


> On Sun, Oct 30, 2016 12:37 PM, Florent Daigniere nextgens@freenetproje
> ct.org
> wrote:
> I forgot the main advantage of the solution I'm proposing:
> 
> 
> 
> 
> AWS will get us a free wildcard certificate for everything we host on
> 
> their infrastructure (we're currently paying for it and it will come
> due
> 
> for renewal in April) without us having to fill in any paperwork (it's
> 
> been a problem in the past).
> 
> 
> 
> 
> Florent
> 
> 
> 
> 
> 
> 
> 
> On Sun, 2016-10-30 at 18:33 +0100, Florent Daigniere wrote:
> 
> > My favourite solution would be based on AWS:
> > 
> > S3 for storage, cloudfront as a CDN in front
> > 
> > A Lambda function to trigger rebuilds when the bucket is updated (or
> > an
> > api-endpoint we'd get github to trigger on commit)
> > 
> > 
> > As for the static-page generator, I am allergic to ruby's ecosystem.
> > Not
> > because it doesn't work but because maintaining the dependencies
> > over-
> > time is just impossible.
> > 
> > I'd suggest
> > https://gohugo.io/ (a static page generator built on golang -
> > static)
> > https://github.com/ryansb/hugo-lambda
> > or Pelican (a python-based one that's maintained/available in pip)
> > 
> > Florent
> > 
> > On Sun, 2016-10-30 at 16:51 +0000, Ian Clarke wrote:
> > > On Sun, Oct 30, 2016 11:37 AM, Dan Roberts [email protected]
> > > wrote:Shall I proceed for the moment assuming that we're using
> > > github
> > > pages?
> > > 
> > > If we abandon github pages, that frees me to identify and select a
> > > more
> > > 
> > > i18n friendly site generator, so I haven't put much more work into
> > > the
> > > 
> > > Jekyll version. At present the Jekyll version's English
> > > translation
> > > is
> > > 
> > > effectively complete, however I do think some content curation
> > > will
> > > be
> > > 
> > > necessary to better fit the new format.
> > > 
> > > 
> > > I think this requires discussion, let's consider the options.  I
> > > think
> > > we can
> > > all agree that we're looking for a solution that is a) cheap or
> > > free
> > > and b)
> > > hosted by a 3rd party, so we don't have to worry about
> > > security/scalability/etc.
> > > Github pages is definitely the easiest, and it's free, and you're
> > > already down
> > > the road with that through Jekyll, but it sounds like the
> > > experience
> > > for
> > > non-English-speaking users will be suboptimal, perhaps relying on
> > > a
> > > JavaScript
> > > powered redirect, which itself may rely on a 3rd-party service
> > > since
> > > JavaScript
> > > apparently can't tell what the user's preferred language is (even
> > > though it is
> > > part of every HTTP request).  It is also worrying that Github
> > > Pages
> > > doesn't
> > > support HTTPS for a custom domain - might this result in broken
> > > inbound links?
> > > Google App Engine gives us a lot more flexibility, but it would
> > > also
> > > be a
> > > reasonable amount of additional coding, and probably wouldn't be
> > > as
> > > amenable to
> > > collaborative editing as Github Pages.  GAE isn't free, but the
> > > cost
> > > is likely
> > > negligible given how much traffic we get.
> > > A possible compromise would be a simple redirecting service on
> > > Google
> > > App Engine
> > > which only served to identify the user's preferred language, and
> > > then
> > > redirect
> > > to the appropriate page on Github Pages (or set a cookie that is
> > > visible from
> > > JavaScript).  Again, more work, and could be messy (we'd probably
> > > need
> > > to use a
> > > different subdomain for the Github Pages site).
> > > 
> > > Thoughts?  What other options are there?
> > > 
> > > Ian.
> > > Ian Clarke
> > > Founder, The Freenet Project
> > > Email: [email protected]
> > > _______________________________________________
> > > Devl mailing list
> > > [email protected]
> > > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> > 
> > _______________________________________________
> > Devl mailing list
> > [email protected]
> > 
> 
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl__________
> _____________________________________
> 
> Devl mailing list
> 
> [email protected]
> 
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 
> 
> --Ian ClarkeStacks - The AI CFO for your personal financeshttp://tryst
> acks.com/
> _______________________________________________
> Devl mailing list
> [email protected]
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc (application/pgp-signature, 455 B)
-----BEGIN PGP SIGNATURE-----

iQEcBAABCAAGBQJYFjedAAoJEOrF6/B6qcKjq5QH/1F4Fikqrbee50jLK1hPcLf6
qygHLjjhDr+XiGqxTAQ1lb/+TJBX/JaHvWnGkSPO43BckmyqyFDfHd7q8gUZ6/SS
+yQhNJ01idkb8hWEikYl/GzxhZmOp5JXvvTmDoN58agToZEDTblY7wEQJa0Vh3bD
qF+MYRzgzShfgTGsGqWvBiHoBMKritUkkEJcP684qPYWE7a/RiHmbvihxNL46WKn
JYRYfae9XuYLdlYB4wk/aB3MziaqI1gKcGsD27YWewmtq8KbnpvyJlv2RGGbbkQl
Tqtc9W8hFwTu0d7a0MtVc0YaAO5u/HfmFvmPiCNTtxcdFeyzUnXlu+F+Y6qIedI=
=PtNF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.