Unverified Commit fcfbc0c6 authored by Tharyrok's avatar Tharyrok
Browse files

Add french trad and correct redirect selector lang

parent 2362dc86
......@@ -10,17 +10,17 @@ babel = Babel(app)
def get_locale():
return request.accept_languages.best_match(['fr', 'en', 'nl'])
return getattr(g, 'lang')
def language_detection():
return redirect('/%s' % get_locale())
return redirect('/%s' % request.accept_languages.best_match(['fr', 'en', 'nl']))
def lang_home(language=None):
def lang_home(language):
setattr(g, 'lang', language)
return render_template('layout.html', data={"lang": language})
if __name__ == '__main__':
......@@ -34,7 +34,7 @@
<i class="fa fa-bars"></i>
<a class="navbar-brand" href="index.html">
<img id="neutrinet-logo" title="neutrinet logo" class="svg" src="img/logo-neutrinet.svg" />
<img id="neutrinet-logo" title="neutrinet logo" class="svg" src="{{ url_for('static', filename='img/logo-neutrinet.svg') }}" />
......@@ -49,6 +49,9 @@
<li><a href="#meetings">{{ gettext('Meetings') }}</a></li>
<li><a href="#howtobecomeamember">{{ gettext('Membership') }}</a></li>
<li><a href="#diyisp">{{ gettext('DIY-ISP') }}</a></li>
{% if not data.lang == 'fr' %}<li><a href="/fr">FR</a></li>{% endif %}
{% if not data.lang == 'en' %}<li><a href="/en">EN</a></li>{% endif %}
{% if not data.lang == 'nl' %}<li><a href="/nl">NL</a></li>{% endif %}
<!-- /.navbar-collapse -->
......@@ -84,7 +87,7 @@
<div class="row">
<div class="col-md-5">
<div class="wow fadeInDown" data-wow-delay="0.5s">
<img src="img/ffdn.png" style="width: 90%">
<img src="{{ url_for('static', filename='img/ffdn.png') }}" style="width: 90%">
<div class="col-md-7">
......@@ -111,7 +114,7 @@
<div class="col-md-3 wow fadeInRight" data-wow-delay="0.1s">
<img src="img/logo.png" style="width: 70%">
<img src="{{ url_for('static', filename='img/logo.png') }}" style="width: 70%">
......@@ -139,8 +142,8 @@
<div class="fritedombox-friends">
<div class="wow fadeInUp" data-wow-delay="0.6s">
<h5>{{ gettext('In association with') }}</h5>
<a href="https://yunohost.org/"><img src="img/yunohost.png" style="padding-right: 7px;"></a>
<a href="https://ldn-fai.net/"><img src="img/ldn.png"></a>
<a href="https://yunohost.org/"><img src="{{ url_for('static', filename='img/yunohost.png') }}" style="padding-right: 7px;"></a>
<a href="https://ldn-fai.net/"><img src="{{ url_for('static', filename='img/ldn.png') }}"></a>
<h6>{{ gettext('And many others <3') }}</h6>
......@@ -617,7 +620,7 @@
<div class="row">
<div class="wow fadeInDown col-xs-6" data-wow-delay="0.5s">
<p><a href="https://creativecommons.org/licenses/by-sa/2.0/"><img src="img/by-sa.png" /></a></p>
<p><a href="https://creativecommons.org/licenses/by-sa/2.0/"><img src="{{ url_for('static', filename='img/by-sa.png') }}" /></a></p>
Pinguins is CC-BY by <a href="http://www.flickr.com/photos/tubby/435313920/">Ben Tubby</a>
Panda is CC-BY-SA by <a href="https://www.flickr.com/photos/fortherock/3898359035">fortherock</a>
This diff is collapsed.
# Dutch translations for PROJECT.
# Copyright (C) 2017 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-01-02 14:17+0100\n"
"PO-Revision-Date: 2017-01-02 14:17+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: nl\n"
"Language-Team: nl <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: templates/layout.html:10
msgid "Neutrinet − Belgium associative ISP"
msgstr ""
#: templates/layout.html:44
msgid "Home"
msgstr ""
#: templates/layout.html:45
msgid "What"
msgstr ""
#: templates/layout.html:46
msgid "Cube"
msgstr ""
#: templates/layout.html:47 templates/layout.html:157
msgid "VPN"
msgstr ""
#: templates/layout.html:48 templates/layout.html:187
msgid "Get involved!"
msgstr ""
#: templates/layout.html:49
msgid "Meetings"
msgstr ""
#: templates/layout.html:50
msgid "Membership"
msgstr ""
#: templates/layout.html:51
msgid "DIY-ISP"
msgstr ""
#: templates/layout.html:67
msgid ""
"A Belgian associative Internet Service Provider, by its users for its "
msgstr ""
#: templates/layout.html:75
msgid "principles"
msgstr ""
#: templates/layout.html:79
msgid ""
"The association aims at maintaining, developing and promoting the use of "
"information exchange networks, in accordance with the principle of "
"<b>network neutrality</b> and defense of <b>fundamental human rights</b>,"
" notably the rights to freedom of speech, access to information and "
"respect for privacy by supporting and empowering both individuals and "
msgstr ""
#: templates/layout.html:82
msgid ""
"Article number 4 of our <a "
msgstr ""
#: templates/layout.html:95
msgid ""
"Neutrinet is a member of <a href=\"https://www.ffdn.org/\">FDN "
"Federation</a> and has ratified <a "
"href=\"https://www.ffdn.org/fr/charte\">its chart</a>"
msgstr ""
#: templates/layout.html:96
msgid ""
"The FDN Federation is a federation of Non-Profit Internet Service "
"Providers sharing common values: volunteer-based, solidarity-driven, "
"democratic and non-profit working; defense and promotion of Net "
msgstr ""
#: templates/layout.html:109
msgid "What is Neutrinet and what we are doing"
msgstr ""
#: templates/layout.html:112
msgid ""
"Neutrinet is a associative <abbr title=\"Internet Service "
"Provider\">I.S.P.</abbr> based in Belgium. This mean that we are a group "
"of people that wants to handle our access to the Internet."
msgstr ""
#: templates/layout.html:113
msgid ""
"We are non-profit, voluntary based, auto-organised and we defend net "
"neutrality, privacy and freedom of expression."
msgstr ""
#: templates/layout.html:127
msgid "The Internet Cube"
msgstr ""
#: templates/layout.html:128
msgid "Your own part of the <span class=\"invert\">Internet</span>"
msgstr ""
#: templates/layout.html:132
msgid ""
"We are working hard to provide you with a <span "
"class=\"invert\">plug'n'play</span> and <span class=\"invert\">easy to "
"use</span> self hosting server which enables you to manage your emails, "
"your website and many other Internet services while keeping all your "
"personal data on your own box at home."
msgstr ""
#: templates/layout.html:135
msgid ""
"Everything is inplemented using free softwares like <a "
"href=\"https://yunohost.org/\">YUNOHOST</a> and an open hardware board "
"from <a href=\"https://www.olimex.com/\">Olimex</a></small></i>. <a "
"href=\"https://internetcu.be/\">More details</a>"
msgstr ""
#: templates/layout.html:140
msgid "Participate to the group order"
msgstr ""
#: templates/layout.html:144
msgid "In association with"
msgstr ""
#: templates/layout.html:147
msgid "And many others <3"
msgstr ""
#: templates/layout.html:161
msgid "Trapped on a non-neutral Internet connection?"
msgstr ""
#: templates/layout.html:164
msgid "Want a public IP address but your provider won't give you one?"
msgstr ""
#: templates/layout.html:168
msgid "Neutrinet has the solution for you!"
msgstr ""
#: templates/layout.html:172
msgid ""
"Get your own <span class=\"invert\">Net-Neutralizer VPN "
"connection™</span> with your own public IP space for 8€/month!"
msgstr ""
#: templates/layout.html:188
msgid ""
"Like any free software, Neutrinet is what you make of it, join us in our "
msgstr ""
#: templates/layout.html:200
msgid "Structure"
msgstr ""
#: templates/layout.html:201
msgid ""
"Neutrinet is structured in a series of different hubs each one being "
"focused on different part of our activities. The idea is to makes what is"
" happening in Neutrinet more obvious rather than creating rigid entities."
msgstr ""
#: templates/layout.html:202
msgid ""
"For now, we have 4 hubs but some additional ones might be added in the "
"future (like one for communication)."
msgstr ""
#: templates/layout.html:207
msgid "Coordinator"
msgstr ""
#: templates/layout.html:208
msgid ""
"Each hub have a coordinator, someone responsible for communication "
"between the hub and everything else, introducing new volunteers and "
"making sure that everything is moving smoothly."
msgstr ""
#: templates/layout.html:209
msgid "The coordinator isn't especially an expert on the subject."
msgstr ""
#: templates/layout.html:214
msgid "How to participate"
msgstr ""
#: templates/layout.html:215
#, python-format
msgid ""
"If you want to give a hand or get involve into a hub, simply contact its "
"coordinator. You don't have to be 100% sure about what you want to do, "
"the coordinator is here to help and guide you even if you don't know what"
" you can do."
msgstr ""
#: templates/layout.html:216
msgid ""
"If you are not sure about what you can do or simply what were are doing "
"every hub has a link to its own page with more informations (details "
"activities, todo list, who is involve)."
msgstr ""
#: templates/layout.html:217
msgid ""
"You can also ask on <a "
"href=\"http://lists.entransition.be/wws/subscribe/neutrinet\">the mailing"
" list</a>, on <a "
"href=\"mailto:contact@neutrinet.be\">contact@neutrinet.be</a>, talk with "
"a coordinator of a hub or come at <a href=\"#meetings\">a meeting</a>."
msgstr ""
#: templates/layout.html:235
msgid "Administrative Hub"
msgstr ""
#: templates/layout.html:236
msgid ""
"This hub is responsible for everything regarding administrative work, "
"both reactive (accounting, ASBL/VZW stuff, banks, ...) and proactive "
"(member listing, financial planing, ...) and the software development of "
"our backoffice."
msgstr ""
#: templates/layout.html:237 templates/layout.html:262
#: templates/layout.html:287 templates/layout.html:312
msgid "Coordinator:"
msgstr ""
#: templates/layout.html:237
msgid "Bram <a href=\"mailto:administrative@worlddomination.be\">contact</a>"
msgstr ""
#: templates/layout.html:238 templates/layout.html:263
#: templates/layout.html:288 templates/layout.html:313
msgid "Mailing list:"
msgstr ""
#: templates/layout.html:238
msgid ""
"<a href=\"http://lists.entransition.be/wws/subscribe/neutrinet-admin"
msgstr ""
#: templates/layout.html:239 templates/layout.html:264
#: templates/layout.html:289 templates/layout.html:314
msgid "Required knowledge:"
msgstr ""
#: templates/layout.html:239
msgid "none:"
msgstr ""
#: templates/layout.html:240 templates/layout.html:265
#: templates/layout.html:290
msgid "Good to have knowledge:"
msgstr ""
#: templates/layout.html:243
msgid "ASBL/VZW handling"
msgstr ""
#: templates/layout.html:244
msgid "accounting (basic)"
msgstr ""
#: templates/layout.html:245
msgid "banks"
msgstr ""
#: templates/layout.html:246
msgid "for backoffice tools development: python/django"
msgstr ""
#: templates/layout.html:259
msgid "Internet Cube Hub"
msgstr ""
#: templates/layout.html:260
msgid ""
"This hub handle to mission of providing our (future) members with a "
"running <a href=\"http://internetcu.be\">Internet Cube</a> and "
"support.<br>This include: group order, communication with the "
"participants, logistic, installation and support"
msgstr ""
#: templates/layout.html:262
msgid "Bram <a href=\"mailto:cube@worlddomination.be\">contact</a>"
msgstr ""
#: templates/layout.html:263
msgid ""
"<a href=\"http://lists.entransition.be/wws/subscribe/neutrinet-cube"
msgstr ""
#: templates/layout.html:264
msgid "none"
msgstr ""
#: templates/layout.html:268
msgid "how to talk about the project and answering common questions"
msgstr ""
#: templates/layout.html:269
msgid ""
"for installation: basic linux system administration skill (using of a "
"shell, dd, nmap)"
msgstr ""
#: templates/layout.html:270
msgid "know the classical bugs and how to fix it or who to reach"
msgstr ""
#: templates/layout.html:271
msgid "for backoffice tools development: python/django and java"
msgstr ""
#: templates/layout.html:284
msgid "Infrastructure Hub"
msgstr ""
#: templates/layout.html:285
msgid ""
"This hub is responsible for maintaining our technical infrastructure up "
"and running and its evolution (installing new services, configuring new "
"servers, exploring hosting possibilities)."
msgstr ""
#: templates/layout.html:287
msgid "Tharyrok <a href=\"mailto:neutrinet@tharyrok.eu\">contact</a>"
msgstr ""
#: templates/layout.html:288
msgid ""
"<a href=\"http://lists.entransition.be/wws/subscribe/neutrinet-tech"
msgstr ""
#: templates/layout.html:289
msgid "linux system administration (debian)"
msgstr ""
#: templates/layout.html:293
msgid "openvpn"
msgstr ""
#: templates/layout.html:294
msgid "networking skill (routing, BGP, iptables)"
msgstr ""
#: templates/layout.html:295
msgid "classical deployement workflow (php, python, ruby, other)"
msgstr ""
#: templates/layout.html:296
msgid "jvm administration (zookeeper, maven) (for ISP-ng for the VPN)"
msgstr ""
#: templates/layout.html:309
msgid "Datacenter Hub"
msgstr ""
#: templates/layout.html:310
msgid ""
"This hub explore and make do-able the possibilities of having a presence "
"in a datacenter."
msgstr ""
#: templates/layout.html:312
msgid "Quentin"
msgstr ""
#: templates/layout.html:313
msgid ""
"<a href=\"http://lists.entransition.be/wws/subscribe/neutrinet-dc"
msgstr ""
#: templates/layout.html:314
msgid "either how to handle to human part of the technical part"
msgstr ""
#: templates/layout.html:326 templates/layout.html:336
#: templates/layout.html:347 templates/layout.html:357
msgid "More information"
msgstr ""
#: templates/layout.html:371
msgid "And our general means of communication:"
msgstr ""
#: templates/layout.html:392
msgid "Subscribe to our mailing list"
msgstr ""
#: templates/layout.html:393
msgid ""
"Our mailing list is one of our central communication media, where "
"everything is announced, don't hesitate to join and introduce yourself!"
msgstr ""
#: templates/layout.html:405
msgid "Come to our meetings"
msgstr ""
#: templates/layout.html:406
msgid ""
"We meet every 2 to 3 weeks to talk about our progress and keep our "
"motivation. Everyone is free to join!"
msgstr ""
#: templates/layout.html:418 templates/layout.html:535
msgid "Become a member"
msgstr ""
#: templates/layout.html:419
msgid ""
"Becoming a member of Neutrinet is both a way for you to get involved "
"easily, gaining vote possibility and a way to support a bit our, your, "
"project financially."
msgstr ""
#: templates/layout.html:434
msgid "Contribute to our Wiki"
msgstr ""
#: templates/layout.html:435
msgid ""
"Our wiki is our main tool of organisation, we centralise all the "
"important information on it and use it to manage activities like our "
msgstr ""
#: templates/layout.html:446
msgid "Subscribe"
msgstr ""
#: templates/layout.html:456
msgid "See the next meeting"
msgstr ""
#: templates/layout.html:467
msgid "How to become a member"
msgstr ""
#: templates/layout.html:478
msgid "Go on our wiki"
msgstr ""
#: templates/layout.html:496
msgid "Next meeting"
msgstr ""
#: templates/layout.html:500
msgid "When?"
msgstr ""
#: templates/layout.html:501
msgid "Where?"
msgstr ""
#: templates/layout.html:502
msgid "What?"
msgstr ""
#: templates/layout.html:506
msgid "Previous meetings"
msgstr ""
#: templates/layout.html:510
msgid "Our previous meetings"
msgstr ""
#: templates/layout.html:518
msgid "Common meeting locations"
msgstr ""
#: templates/layout.html:546
msgid "It's easy!"
msgstr ""
#: templates/layout.html:548
msgid ""
"Becoming a member of Neutrinet is simple: pay your annual membership fee "
"(25€ or more) either:"
msgstr ""
#: templates/layout.html:550
msgid ""
"to a member of our administrative council at a <a "
msgstr ""
#: templates/layout.html:551
msgid ""
"to our bank by wire transfer - see the information on the right - and "
"tell us <a href=\"mailto:contact@neutrinet.be\">by email</a>."
msgstr ""
#: templates/layout.html:559
msgid "Bank details:"
msgstr ""
#: templates/layout.html:561
msgid ""
"Bank: RecordBank<br>\n"
"\t\t\t\t\t\t\t\tName: Neutrinet ASBL<br>\n"
"\t\t\t\t\t\t\t\tCommunication: cotisation of ...<br>\n"
"\t\t\t\t\t\t\t\tIBAN: BE52 6528 3497 8409<br>\n"
"\t\t\t\t\t\t\t\tBIC: HBKABE22<br>"
msgstr ""
#: templates/layout.html:576
#, python-format
msgid ""
"<a "
" target=\"_blank\">Belgium law</a> requires us to ask you for your "
"<b>first name</b>, <b>last name</b> and <b>home address</b>."
msgstr ""
#: templates/layout.html:579
msgid ""
"While we are not expecting spontaneous unknown new members, we "
"recommended that before becoming a member of the Neutrinet ASBL/VZW you "
"spend a bit of time discovering what we are doing and in the same time "
"letting us know you a bit better :)"
msgstr ""
#: templates/layout.html:580
msgid ""
"<b>It is not mandatory to be a member of the ASBL/VZW to contribute and "
"participate in the life of Neutrinet</b> but this is a nice way to "
"support us. It is mandatory if you want to subscribe to one of our "
msgstr ""
#: templates/layout.html:581