We need to think about how we handle internationalization in the new site. One option would be to use something like http://www.localeplanet.com/ - a JavaScript localization library, although I don't have personal experience with it. This would have the disadvantage that it won't work if the website is inserted into Freenet, however I don't think that's an important requirement because the new website will be primarily aimed at non-Freenet users, the wiki content will be more important to mirror into Freenet. Thoughts? Ian.
On Thu, Aug 11, 2016 6:26 AM, Bert Massop [email protected] wrote: Op 7 aug. 2016 09:23 schreef "Arne Babenhauserheide" <[email protected]>: > > Hi Stephen, > > Stephen Oliver writes: > > > Hi everyone, > > > > As discussed earlier on IRC, I have ported all of the FAQ content from the freenetproject.org website over to our wiki, merged with the existing FAQ page[1]. > > Looks good! Thank you! > > To keep existing #faq links working, we could add the anchor to the Get > Support section. Here’s a patch which would do that and still ensure > that the section is visible when clicking the anchor, but it’s a bit > hacky: > > diff --git a/pages/help.py b/pages/help.py > --- a/pages/help.py > +++ b/pages/help.py > @@ -65,7 +65,7 @@ class SupportSection(Section): > def get_content(self): > # License: GFDL (from old freenetproject.org website) > return text(md(_(""" > -If you need help installing Freenet for the first time, or have trouble using Freenet and can't find an answer to your problem in the [FAQ][faq_link] or in the [Knowledge Base][kb_link], please create a new discussion on our support forum. > + <div style= "><a name='faq'></a></div>If you need help installing Freenet for the first time, or have trouble using Freenet and can't find an answer to your problem in the [FAQ][faq_link] or in the [Knowledge Base][kb_link], please create a new discussion on our support forum. > > When writing your support request, please make sure you include a full description of the problem, your current version of Java, your operating system and current Freenet version. > """) + "\n\n" + """ As a general note here: please keep the translation units as free from HTML markup as possible. Having to change translations to keep the site functional is not fun ;-) Kind regards, Bert _______________________________________________ Devl mailing list [email protected] https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl -- Ian Clarke Stacks - The AI CFO for your personal finances http://trystacks.com/ _______________________________________________ Devl mailing list [email protected] https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
