Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 🗣️ Multi languages support #360

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 220 additions & 0 deletions _data/data-fr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
#
# Be aware that even a small syntax error here can lead to failures in output.
#

sidebar:
about: True # set to False or comment line if you want to remove the "how to use?" in the sidebar
education: False # set to False if you want education in main section instead of in sidebar

# Profile information
name: Alan Doe
tagline: Full Stack Developer
avatar: profile.png #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below

# Sidebar links
email: [email protected]
phone: +33 1 23 45 67 89
timezone: Etats Unis/Cancun Timezone
citizenship:
website: blog.webjeda.com #do not add http://
linkedin: alandoe
xing: alandoe
github: sharu725
telegram: # add your nickname without '@' sign
gitlab:
bitbucket:
twitter: '@webjeda'
stack-overflow: # Number/Username, e.g. 123456/alandoe
codewars:
goodreads: # Number-Username, e.g. 123456-alandoe
pdf: http://www.africau.edu/images/default/sample.pdf

languages:
title: Langues
info:
- idiom: Anglais
level: Natif

- idiom: Français
level: Professionnel

- idiom: Espagnole
level: Professionnel

interests:
title: Centres d'intérêts
info:
- item: Escalade
link:

- item: Snowboarding
link:

- item: Cuisine
link:

career-profile:
title: A propos
summary: |
Expliquez en quelques mots votre parcours here lorem ipsum dolor sit amet, consectetuer
adipiscing elit. You can [download this free resume/CV template here]().
Aenean commodo ligula eget dolor aenean massa. Cum sociis natoque
penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Donec quam felis, ultricies nec, pellentesque eu.
Second paragraph if required.
education:
title: Formation
info:
- degree: MSc en informatique
university: Université de Londres
time: 2011 - 2012
details: |
Indiquez ici vos études lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum
sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu,
pretium quis, sem.
- élément de liste à puces
- élément de liste à puces
- degree: BSc en mathématiques appliquées
university: Université de Bristol
time: 2007 - 2011
details: |
Indiquez ici vos études here lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum
sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu,
pretium quis, sem.
- élément de liste à puces
- élément de liste à puces
experiences:
title: Experiences professionnelles
info:
- role: Lead Developer
time: 2015 - Aujourd’hui
company: Startup Hubs, San Francisco
details: |
Décrire ici votre rôle lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Donec quam felis, ultricies nec,
pellentesque eu, pretium quis, sem. Nulla consequat massa quis
enim. Donec pede justo. Sed ut perspiciatis unde omnis iste natus
error sit voluptatem accusantium doloremque laudantium, totam rem
aperiam, eaque ipsa quae ab illo inventore veritatis et quasi
architecto beatae vitae dicta sunt explicabo.
- élément de liste à puces
- élément de liste à puces
- role: Ingénieur logiciel sénior
time: 2014 - 2015
company: Google, Londres
details: |
Décrire ici votre rôle lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Donec quam felis, ultricies nec,
pellentesque eu, pretium quis, sem.
- élément de liste à puces
- élément de liste à puces
- role: UI Developpeur
time: 2012 - 2014
company: Amazon, Londres
details: |
Décrire ici votre rôle lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Donec quam felis, ultricies nec,
pellentesque eu, pretium quis, sem.
- élément de liste à puces
- élément de liste à puces
projects:
title: Projets personnels
intro: >
Vous pouvez lister vos side projects ici. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum et ligula in nunc bibendum fringilla a eu lectus.
assignments:
- title: Velocity
link: "#hook"
tagline: "Un site web responsive pour aider les startups pour leur publicité, marché et la vente de leurs produits."

- title: DevStudio
link: "#"
tagline: "Un site web responsive pour aider les développeurs web ou les designers à vender leurs services."

- title: Tempo
link: "#"
tagline: "Un template de site web responsive pour aider les startups à fair la promotion de leurs produits ou services ainsi que pour attirer les investisseurs."

- title: Atom
link: "#"
tagline: "Un template complet de site web pour les startups et les développeurs pour vendre leurs applications mobiles."

- title: Delta
link: "#"
tagline: "Un thème Boostrap responsive en mode une seule page pour aider les développeurs à vendre leurs applications."

oss:
title: Contrbutions Open Source
intro: >
Vous pouvez lister ici vos contributions open source dans cette section.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum et ligula in nunc bibendum fringilla a eu lectus.
contributions:
- title: Tempo
link: "#"
tagline: "Un template de site web responsive pour aider les startups à fair la promotion de leurs produits ou services ainsi que pour attirer les investisseurs."

- title: Atom
link: "#"
tagline: "Un template complet de site web pour les startups et les développeurs pour vendre leurs applications mobiles."

- title: Delta
link: "#"
tagline: "Un thème Boostrap responsive en mode une seule page pour aider les développeurs à vendre leurs applications."

publications:
title: Publications
intro: |
Vous pouvez lister ici vos publication. Lorem ipsum dolor sit
amet, consectetur adipiscing elit. Vestibulum et ligula in nunc
bibendum fringilla a eu lectus.
papers:
- title: L'art de développer un logiciel
link: "#"
authors: Donald E. Knuth
conference: Addison-Wesley, 1968

- title: "Programmation générique III: Invention darwinienne & Résolution de problèmes"
link: "#"
authors: Koza, J.R., Andre, D., Bennett, F.H., Keane, M.A.
conference: "Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1st edn. (1999)"

- title: Compilateur orienté syntaxe pour Algol 60
link: "#"
authors: Edgar T. Irons
conference: "Comm. ACM 4 (1961), 51–55"

skills:
title: Compétences & Aptitudes

toolset:
- name: Python & Django
level: 98%

- name: Javascript & jQuery
level: 98%

- name: Angular
level: 98%

- name: HTML5 & CSS
level: 95%

- name: Ruby on Rails
level: 85%

- name: Sketch & Photoshop
level: 60%

footer: >
Designed with <i class="fas fa-heart"></i> by <a href="http://themes.3rdwavemedia.com" target="_blank" rel="nofollow">Xiaoying Riley</a>
2 changes: 1 addition & 1 deletion _includes/career-profile.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign career-profile = site.data.data.career-profile %}
{% assign career-profile = data.career-profile %}
{% if career-profile %}
<section class="section summary-section">

Expand Down
4 changes: 2 additions & 2 deletions _includes/education.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% assign education = site.data.data.education %}
{% assign education = data.education %}
{% if education %}
{% if site.data.data.sidebar.education %}
{% if data.sidebar.education %}
<div class="education-container container-block">

<h2 class="container-block-title">
Expand Down
2 changes: 1 addition & 1 deletion _includes/experiences.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign experiences = site.data.data.experiences %}
{% assign experiences = data.experiences %}
{% if experiences %}
<section class="section experiences-section">
<h2 class="section-title">
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<footer class="footer">
<div class="text-center">
<!--/* This template is released under the Creative Commons Attribution 3.0 License. Please keep the attribution link below when using for your own project. Thank you for your support. :) If you'd like to use the template without the attribution, you can check out other license options via our website: themes.3rdwavemedia.com */-->
<small class="copyright">{{ site.data.data.footer }}</small>
<small class="copyright">{{ data.footer }}</small>
</div><!--//container-->
</footer><!--//footer-->
18 changes: 18 additions & 0 deletions _includes/index-common.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{% include career-profile.html %}


{% unless data.sidebar.education %}
{% include education.html %}
{% endunless %}

{% include experiences.html %}

{% include certifications.html %}

{% include projects.html %}

{% include oss-contributions.html %}

{% include publications.html %}

{% include skills.html %}
2 changes: 1 addition & 1 deletion _includes/interests.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign interests = site.data.data.sidebar.interests %}
{% assign interests = data.sidebar.interests %}
{% if interests %}
<div class="interests-container container-block">

Expand Down
2 changes: 1 addition & 1 deletion _includes/language.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign languages = site.data.data.sidebar.languages %}
{% assign languages = data.sidebar.languages %}
{% if languages %}
<div class="languages-container container-block">

Expand Down
2 changes: 1 addition & 1 deletion _includes/oss-contributions.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign oss = site.data.data.oss %}
{% assign oss = data.oss %}
{% if oss %}
<section class="section oss-section">
<h2 class="section-title">
Expand Down
13 changes: 13 additions & 0 deletions _includes/print-common.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% include career-profile.html %}

{% unless data.sidebar.education %}
{% include education.html %}
{% endunless %}

{% include experiences.html %}

{% include projects.html %}

{% include publications.html %}

{% include skills.html %}
2 changes: 1 addition & 1 deletion _includes/projects.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign projects = site.data.data.projects %}
{% assign projects = data.projects %}
{% if projects %}
<section class="section projects-section">

Expand Down
2 changes: 1 addition & 1 deletion _includes/publications.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign publications = site.data.data.publications %}
{% assign publications = data.publications %}
{% if publications %}
<section class="section publications-section">

Expand Down
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign sidebar = site.data.data.sidebar %}
{% assign sidebar = data.sidebar %}
<div class="sidebar-wrapper">

<div class="profile-container">
Expand Down
2 changes: 1 addition & 1 deletion _includes/skills.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign skills = site.data.data.skills %}
{% assign skills = data.skills %}
{% if skills %}
<section class="skills-section section">

Expand Down
25 changes: 25 additions & 0 deletions _layouts/default-fr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
#Add "layout: compress" here to compress the html code
---
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
{% include head.html %}
{% assign data = site.data.data-fr %}
<body>
<div class="wrapper">
{% include sidebar.html %}

<div class="main-wrapper">
{{ content }}
</div>
</div>

{% include footer.html %}

{% include scripts.html %}
</body>

</html>

1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
{% include head.html %}
{% assign data = site.data.data %}

<body>
<div class="wrapper">
Expand Down
30 changes: 30 additions & 0 deletions _layouts/print-fr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
#Add "layout: compress" here to compress the html code
---

<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
{% include head.html %}
{% assign data = site.data.data-fr %}

<style>
body {
padding: 0 !important;
}
.wrapper {
max-width: unset !important;
}
</style>
<body>
<div class="wrapper">
{% include sidebar.html %}

<div class="main-wrapper">{{ content }}</div>
</div>
{% include scripts.html %}
</body>
</html>
2 changes: 2 additions & 0 deletions _layouts/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<html lang="en">
<!--<![endif]-->
{% include head.html %}
{% assign data = site.data.data %}

<style>
body {
padding: 0 !important;
Expand Down
Loading