add english
This commit is contained in:
2
js/i18next.min.js
vendored
Normal file
2
js/i18next.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
js/i18nextBrowserLanguageDetector.min.js
vendored
Normal file
1
js/i18nextBrowserLanguageDetector.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
js/jquery-i18next.min.js
vendored
Normal file
1
js/jquery-i18next.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.jqueryI18next=e()}(this,function(){"use strict";function t(t,a){function i(n,a,i){function r(t,n){return f.parseDefaultValueFromContent?e({},t,{defaultValue:n}):t}if(0!==a.length){var o="text";if(0===a.indexOf("[")){var l=a.split("]");a=l[1],o=l[0].substr(1,l[0].length-1)}if(a.indexOf(";")===a.length-1&&(a=a.substr(0,a.length-2)),"html"===o)n.html(t.t(a,r(i,n.html())));else if("text"===o)n.text(t.t(a,r(i,n.text())));else if("prepend"===o)n.prepend(t.t(a,r(i,n.html())));else if("append"===o)n.append(t.t(a,r(i,n.html())));else if(0===o.indexOf("data-")){var s=o.substr("data-".length),d=t.t(a,r(i,n.data(s)));n.data(s,d),n.attr(o,d)}else n.attr(o,t.t(a,r(i,n.attr(o))))}}function r(t,n){var r=t.attr(f.selectorAttr);if(r||void 0===r||!1===r||(r=t.text()||t.val()),r){var o=t,l=t.data(f.targetAttr);if(l&&(o=t.find(l)||t),n||!0!==f.useOptionsAttr||(n=t.data(f.optionsAttr)),n=n||{},r.indexOf(";")>=0){var s=r.split(";");a.each(s,function(t,e){""!==e&&i(o,e.trim(),n)})}else i(o,r,n);if(!0===f.useOptionsAttr){var d={};d=e({clone:d},n),delete d.lng,t.data(f.optionsAttr,d)}}}function o(t){return this.each(function(){r(a(this),t),a(this).find("["+f.selectorAttr+"]").each(function(){r(a(this),t)})})}var f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};f=e({},n,f),a[f.tName]=t.t.bind(t),a[f.i18nName]=t,a.fn[f.handleName]=o}var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},n={tName:"t",i18nName:"i18n",handleName:"localize",selectorAttr:"data-i18n",targetAttr:"i18n-target",optionsAttr:"i18n-options",useOptionsAttr:!1,parseDefaultValueFromContent:!0};return{init:t}});
|
16
js/page_selection.js
Normal file
16
js/page_selection.js
Normal file
@ -0,0 +1,16 @@
|
||||
function page_selection(new_hash){
|
||||
old_hash = $(location).attr('hash');
|
||||
$(old_hash).css('display', 'none');
|
||||
$(old_hash + "_menu").removeClass('active');
|
||||
$(new_hash).css('display', 'block');
|
||||
$(new_hash + "_menu").addClass('active');
|
||||
$(location).prop('hash', new_hash);
|
||||
$("#navbarSupportedContent").removeClass('show');
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
|
||||
var hash = $(location).attr('hash');
|
||||
if(hash != "")
|
||||
page_selection(hash);
|
||||
else
|
||||
page_selection("#about");
|
197
js/translate.js
Normal file
197
js/translate.js
Normal file
@ -0,0 +1,197 @@
|
||||
i18next
|
||||
.use(i18nextBrowserLanguageDetector)
|
||||
.init({
|
||||
fallbackLng: 'en',
|
||||
resources: {
|
||||
en: {
|
||||
translation: {
|
||||
menu: {
|
||||
about: "About me",
|
||||
experiences: "Professionnal Experiences",
|
||||
training: "Training",
|
||||
publications: "Publications",
|
||||
teachings: "Teaching",
|
||||
projects: "Projects"
|
||||
},
|
||||
about: {
|
||||
job : "PhD Student in IT",
|
||||
p1: "After followed training courses focused on software development at the <a href='https://www.univ-tlse2.fr/home/' class='text-primary'>University of Toulouse 2 Jean-Jaurès</a> " +
|
||||
"and obtained a <a href='https://www.univ-tlse2.fr/accueil/navigation/formation-insertion/formation-continue/master-informatique-collaborative-en-entreprise-ice-1e-et-2e-annee-444876.kjsp'>" +
|
||||
"sandwich course master degree in Collaborative Computer Science</a>, I am currently a PhD student at <a href='https://www.irit.fr/?lang=en' >IRIT</a> " +
|
||||
"in the <a href='https://www.irit.fr/-Equipe-ARGOS-?lang=en' class='text-primary'>ARGOS</a> team.",
|
||||
p2: "My main research topics concern the <a href='https://en.wikipedia.org/wiki/Software_architecture'>software architecture</a>, " +
|
||||
"the <a href='https://en.wikipedia.org/wiki/Computer_security'>security</a> et the <a href='https://en.wikipedia.org/wiki/Formal_methods'>Formal methods</a>. " +
|
||||
"And I am particularly interested in my doctorate on <a href='https://en.wikipedia.org/wiki/Model-driven_engineering'>model-driven engineering</a> and " +
|
||||
"<a href='https://en.wikipedia.org/wiki/Formal_verification'>formal verification</a> approaches to secure software architectures.",
|
||||
p3:
|
||||
"As self-taught <a href='https://fr.wikipedia.org/wiki/D%C3%A9veloppement_de_logiciel'>software developer</a> from a young age, " +
|
||||
"I am from a personal point of view a passionate developer. I have a special interest in <a href='https://en.wikipedia.org/wiki/Free_software'>free software</a> " +
|
||||
"and <a href='https://en.wikipedia.org/wiki/Unix'>unix</a> systems."
|
||||
},
|
||||
experiences: {
|
||||
title: "Professionnal Experiences",
|
||||
phd: {
|
||||
title: "2017-present - PhD Student in IT",
|
||||
location: "<a href='https://www.irit.fr/?lang=en'>IRIT</a>, Toulouse, France (31)",
|
||||
},
|
||||
engie: {
|
||||
title: "2015-2017 (2 years) - Sandwich Course Master Degree",
|
||||
location: "<a href='https://www.engie-ineo.fr/en/'>Engie Ineo</a>, Toulouse, France (31)",
|
||||
exp1: "Installation, configuration, securing Linux OS - CentOS / Bash",
|
||||
exp2: "Set Up Virtual Machines and Networks - KVM / Open VSwitch",
|
||||
exp3: "Set Up System and Network Supervision - Nagios / IPMI",
|
||||
exp4: "Operational Continuity Support on Industrial SCADA System - C++ / Qt / Python",
|
||||
},
|
||||
freescale: {
|
||||
title: "2015 (4 months) - Bachelor Degree Internship",
|
||||
location: "<a href='https://www.nxp.com/'>Freescale Semiconducteur</a>, Toulouse, France (31)",
|
||||
exp1: "Creation of a Web Service for the Processing and Publication of Testing Data.",
|
||||
exp2: "Python [Django, Panda] / HTML / Js [D3.js, JQuery] / CSS",
|
||||
},
|
||||
panacee: {
|
||||
title: "2014 (3 months) - Associate Degree Internship",
|
||||
location: "<a href='https://www.espritsante.com/'>Panacee des Plantes</a>, Agen, France (47)",
|
||||
exp1: "Implementation of New Functionnalities for E-Commerce Site",
|
||||
exp2: "PHP / HTML / Js / CSS",
|
||||
}
|
||||
},
|
||||
training: {
|
||||
title: "Training",
|
||||
ice: {
|
||||
title: "2015-2017 - Master Degree in Software Development (ICE)",
|
||||
location: "<a href='https://www.univ-tlse2.fr/home/'>Universtiy Toulouse 2 Jean-Jaurés</a>, Toulouse, France (31)"
|
||||
},
|
||||
l3: {
|
||||
title: "2014-2015 - Bachelor Degree in Software Development (MIASHS)",
|
||||
location: "<a href='https://www.univ-tlse2.fr/home/'>Universtiy Toulouse 2 Jean-Jaurés</a>, Toulouse, France (31)"
|
||||
},
|
||||
iut: {
|
||||
title: "2012-2014 - Associate Degree in Software Development",
|
||||
location: "<a href='https://www.iut-blagnac.fr/fr'>University Institutes of Technology Blagnac</a>, Blagnac, France (31)"
|
||||
},
|
||||
bac: {
|
||||
title: "2012 - High-School Degree in Science Option Engineering Science and Mathematics",
|
||||
location: "<a href='https://cite-francois-mitterrand.mon-ent-occitanie.fr/'>Lycée François Mitterrand</a>, Moissac, France (82)"
|
||||
}
|
||||
},
|
||||
publications: {
|
||||
journal: "Journal",
|
||||
conference: "Conference",
|
||||
these: "These",
|
||||
nothing: "Nothing yet !"
|
||||
},
|
||||
teachings: {
|
||||
univtoulouse3: " - University Toulouse 3 Paul Sabatier"
|
||||
},
|
||||
projects: {
|
||||
soon: "Soon !"
|
||||
}
|
||||
}
|
||||
},
|
||||
fr: {
|
||||
translation: {
|
||||
menu: {
|
||||
about: "A propos de moi",
|
||||
experiences: "Expériences Professionnelles",
|
||||
training: "Formation",
|
||||
publications: "Publications",
|
||||
teachings: "Enseignements",
|
||||
projects: "Projets"
|
||||
},
|
||||
about: {
|
||||
job: "Doctorant en Informatique",
|
||||
p1: "Après avoir suivi un parcours orienté développement logiciel à l'<a href='https://www.univ-tlse2.fr/' class='text-primary'>Université Toulouse 2 Jean-Jaurès</a> " +
|
||||
"et obtenu un <a href='https://www.univ-tlse2.fr/accueil/navigation/formation-insertion/formation-continue/master-informatique-collaborative-en-entreprise-ice-1e-et-2e-annee-444876.kjsp'>" +
|
||||
"Master en Informatique Collaborative en Entreprise</a> en alternance, je suis actuellement doctorant à l'<a href='https://irit.fr' class='text-primary'>IRIT</a> " +
|
||||
"dans l'équipe <a href='https://www.irit.fr/-Equipe-ARGOS-' class='text-primary'>ARGOS</a>.",
|
||||
p2: "Mes principaux sujets de recherches concernent les <a href='https://fr.wikipedia.org/wiki/Architecture_logicielle'>architectures logicielles</a>, " +
|
||||
"la <a href='https://fr.wikipedia.org/wiki/S%C3%A9curit%C3%A9_des_syst%C3%A8mes_d%27information'>sécurité</a> et les <a href='https://fr.wikipedia.org/wiki/M%C3%A9thode_formelle_(informatique)'>méthodes formelles</a>. " +
|
||||
"Et je m'intéresse plus particulièrement dans la cadre de ma thèse aux approches basées sur l'<a href='https://fr.wikipedia.org/wiki/Ing%C3%A9nierie_dirig%C3%A9e_par_les_mod%C3%A8les'>ingénierie dirigée par les modèles</a> et " +
|
||||
"la <a href='https://fr.wikipedia.org/wiki/V%C3%A9rification_formelle'>vérification formelle</a> pour les architectures logicielles sécurisées.",
|
||||
p3:
|
||||
"Ayant commencé à apprendre jeune le <a href='https://fr.wikipedia.org/wiki/D%C3%A9veloppement_de_logiciel'>développement logiciel</a> en autodidacte, " +
|
||||
"je suis d'un point de vue personnel un développeur passionné. Je porte un intérêt particulier pour les <a href='https://fr.wikipedia.org/wiki/Logiciel_libre'>logiciels libres</a> " +
|
||||
"et les systèmes <a href='https://fr.wikipedia.org/wiki/Unix'>unix</a>."
|
||||
},
|
||||
experiences: {
|
||||
title: "Expériences Professionelles",
|
||||
phd: {
|
||||
title: "2017-present - Doctorant en Informatique",
|
||||
location: "<a href='https://www.irit.fr/?lang=en'>IRIT</a>, Toulouse, France (31)",
|
||||
},
|
||||
engie: {
|
||||
title: "2015-2017 (2 ans) - Alternance Master ICE",
|
||||
location: "<a href='https://www.engie-ineo.fr/'>Engie Ineo</a>, Toulouse, France (31)",
|
||||
exp1: "Installation, configuration, sécurisation d’OS Linux - CentOS / Bash",
|
||||
exp2: "Mise en Place de Machines et Réseau Virtuelle - KVM / Open VSwitch",
|
||||
exp3: "Mise en Place de Surveillance Système et Réseau - Nagios / IPMI",
|
||||
exp4: "MCO Système Industriel SCADA - C++ / Qt / Python",
|
||||
},
|
||||
freescale: {
|
||||
title: "2015 (4 mois) - Stage Fin L3 MIASHS Informatique",
|
||||
location: "<a href='https://www.nxp.com/'>Freescale Semiconducteur</a>, Toulouse, France (31)",
|
||||
exp1: "Création d'un Service Web de Traitement et de Publication Statistiques de Données de Tests ",
|
||||
exp2: "Python [Django, Panda] / HTML / Js [D3.js, JQuery] / CSS",
|
||||
},
|
||||
panacee: {
|
||||
title: "2014 (3 mois) - Stage Fin DUT Informatique",
|
||||
location: "<a href='https://www.espritsante.com/'>Panacee des Plantes</a>, Agen, France (47)",
|
||||
exp1: "Implémentation de Nouvelles Fonctionnalités sur un Site de E-Commerce",
|
||||
exp2: "PHP / HTML / Js / CSS",
|
||||
}
|
||||
},
|
||||
training: {
|
||||
title: "Formation",
|
||||
ice: {
|
||||
title: "2015-2017 - Master ICE (Informatique Collaborative en Entreprise)",
|
||||
location: "<a href='https://www.univ-tlse2.fr/'>Université Toulouse 2 Jean-Jaurés</a>, Toulouse, France (31)"
|
||||
},
|
||||
l3: {
|
||||
title: "2014-2015 - Licence MIASHS (Mathématiques, Informatique Appliquées et Sciences Humaines et Sociales)",
|
||||
location: "<a href='https://www.univ-tlse2.fr/'>Université Toulouse 2 Jean-Jaurés</a>, Toulouse, France (31)"
|
||||
},
|
||||
iut: {
|
||||
title: "2012-2014 - DUT Informatique",
|
||||
location: "<a href='https://www.iut-blagnac.fr/fr'>Institut Universitaire de Technologie Blagnac</a>, Blagnac, France (31)"
|
||||
},
|
||||
bac: {
|
||||
title: "2012 - Baccalauréat Scientifique Science de l'Ingénieur Option Mathématiques",
|
||||
location: "<a href='https://cite-francois-mitterrand.mon-ent-occitanie.fr/'>Lycée François Mitterrand</a>, Moissac, France (82)"
|
||||
}
|
||||
},
|
||||
publications: {
|
||||
journal: "Journal",
|
||||
conference: "Conférence",
|
||||
these: "Thèse",
|
||||
nothing: "Rien pour l'instant !"
|
||||
},
|
||||
teachings: {
|
||||
univtoulouse3: " - Université Toulouse 3 Paul Sabatier"
|
||||
},
|
||||
projects: {
|
||||
soon: "Bientôt !"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
function(err, t) {
|
||||
jqueryI18next.init(i18next, $);
|
||||
updateContent();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
function updateContent() {
|
||||
$('#menu').localize();
|
||||
$('#about').localize();
|
||||
$('#experiences').localize();
|
||||
$('#training').localize();
|
||||
$('#publications').localize();
|
||||
$('#teachings').localize();
|
||||
$('#projects').localize();
|
||||
}
|
||||
|
||||
i18next.on('languageChanged', () => {
|
||||
updateContent();
|
||||
});
|
Reference in New Issue
Block a user