-
Notifications
You must be signed in to change notification settings - Fork 16
feat: translations #57
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
cd0445a
feat: translation
AlfGoto 9aa3f57
fix: articles permaLinks, copyright and language flag parameters
AlfGoto 1f95052
feat: test preview
AlfGoto 37ca660
fix: preview comment
AlfGoto 5775cbc
chore: removed previews
AlfGoto 3567e4e
fix: useless formats and target blanck
AlfGoto e6dd749
fix: blogs urls
AlfGoto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -42,3 +42,21 @@ suffixes = [""] | |||||||
| [outputFormats.WebAppManifest] | ||||||||
| mediaType = "application/manifest+json" | ||||||||
| rel = "manifest" | ||||||||
|
|
||||||||
| defaultContentLanguage = "fr" | ||||||||
| defaultContentLanguageInSubdir = false | ||||||||
|
|
||||||||
| [languages] | ||||||||
| [languages.fr] | ||||||||
| languageName = "Français" | ||||||||
| weight = 1 | ||||||||
|
|
||||||||
| [languages.fr.params] | ||||||||
| flag = "🇫🇷" | ||||||||
|
|
||||||||
| [languages.en] | ||||||||
| languageName = "English" | ||||||||
| weight = 2 | ||||||||
|
|
||||||||
| [languages.en.params] | ||||||||
| flag = "🇬🇧" | ||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Idem not supported in newer version
Suggested change
|
||||||||
91 changes: 35 additions & 56 deletions
91
config/_default/menus.toml → config/_default/menus.en.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,56 +1,35 @@ | ||
| # main menu | ||
| [[main]] | ||
| name = "Services" | ||
| url = "#services" | ||
| weight = 2 | ||
|
|
||
| [[main]] | ||
| name = "Team" | ||
| url = "#team" | ||
| weight = 3 | ||
|
|
||
| [[main]] | ||
| name = "Partners" | ||
| url = "#customers" | ||
| weight = 4 | ||
|
|
||
| [[main]] | ||
| name = "Portfolio" | ||
| url = "portfolio/" | ||
| weight = 5 | ||
|
|
||
| [[main]] | ||
| name = "Blog" | ||
| url = "blog/" | ||
| weight = 6 | ||
|
|
||
| [[main]] | ||
| name = "Videos" | ||
| url = "videos/" | ||
| weight = 7 | ||
|
|
||
| [[main]] | ||
| name = "Contact" | ||
| url = "#contact" | ||
| weight = 8 | ||
|
|
||
| # footer menu | ||
| #[[footer]] | ||
| #name = "About" | ||
| #url = "about/" | ||
| #weight = 1 | ||
| # | ||
| #[[footer]] | ||
| #name = "Blog" | ||
| #url = "blog/" | ||
| #weight = 2 | ||
| # | ||
| #[[footer]] | ||
| #name = "Blog Details" | ||
| #url = "blog/post-1/" | ||
| #weight = 3 | ||
| # | ||
| #[[footer]] | ||
| #name = "Terms & Conditions" | ||
| #url = "terms-and-conditions/" | ||
| #weight = 4 | ||
| # English main menu | ||
| [[main]] | ||
| name = "Services" | ||
| url = "#services" | ||
| weight = 2 | ||
|
|
||
| [[main]] | ||
| name = "Team" | ||
| url = "#team" | ||
| weight = 3 | ||
|
|
||
| [[main]] | ||
| name = "Partners" | ||
| url = "#customers" | ||
| weight = 4 | ||
|
|
||
| [[main]] | ||
| name = "Portfolio" | ||
| url = "portfolio/" | ||
| weight = 5 | ||
|
|
||
| [[main]] | ||
| name = "Blog" | ||
| url = "blog/" | ||
| weight = 6 | ||
|
|
||
| [[main]] | ||
| name = "Videos" | ||
| url = "videos/" | ||
| weight = 7 | ||
|
|
||
| [[main]] | ||
| name = "Contact" | ||
| url = "#contact" | ||
| weight = 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # French main menu | ||
| [[main]] | ||
| name = "Services" | ||
| url = "#services" | ||
| weight = 2 | ||
|
|
||
| [[main]] | ||
| name = "Équipe" | ||
| url = "#team" | ||
| weight = 3 | ||
|
|
||
| [[main]] | ||
| name = "Partenaires" | ||
| url = "#customers" | ||
| weight = 4 | ||
|
|
||
| [[main]] | ||
| name = "Portefeuille" | ||
| url = "portfolio/" | ||
| weight = 5 | ||
|
|
||
| [[main]] | ||
| name = "Blog" | ||
| url = "blog/" | ||
| weight = 6 | ||
|
|
||
| [[main]] | ||
| name = "Vidéos" | ||
| url = "videos/" | ||
| weight = 7 | ||
|
|
||
| [[main]] | ||
| name = "Contact" | ||
| url = "#contact" | ||
| weight = 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| # banner | ||
| banner: | ||
| title: "Des jumeaux numériques pour *comprendre*, *concevoir* et *exploiter* vos produits" | ||
| button: "Notre Vision" | ||
| button_link: "#" | ||
|
|
||
|
|
||
| # contact | ||
| contact_image: "images/vectors/contact.png" | ||
|
|
||
| --- |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: "Benoit Combemale" | ||
| image: "images/team/benoit.jpg" | ||
| designation: "Conseiller Scientifique" | ||
| weight: 200 | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| --- | ||
| subtitle: "Our Advisors" | ||
| title: "External Partnerships" | ||
| headless: true | ||
| --- | ||
| --- | ||
| subtitle: "Our Advisors" | ||
| title: "External Partnerships" | ||
| headless: true | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| subtitle: "Nos Conseillers" | ||
| title: "Partenariats Externes" | ||
| headless: true | ||
| --- |
12 changes: 6 additions & 6 deletions
12
content/advisors/olivier.md → content/advisors/olivier.en.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| --- | ||
| name: "Olivier Barais" | ||
| image: "images/team/olivier.jpg" | ||
| designation: "Technical Advisor" | ||
| weight: 201 | ||
| --- | ||
| --- | ||
| name: "Olivier Barais" | ||
| image: "images/team/olivier.jpg" | ||
| designation: "Technical Advisor" | ||
| weight: 201 | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: "Olivier Barais" | ||
| image: "images/team/olivier.jpg" | ||
| designation: "Conseiller Technique" | ||
| weight: 201 | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| --- | ||
| title: "Blog" | ||
| description: "meta description" | ||
| draft: false | ||
| --- | ||
|
|
||
| --- | ||
| title: "Blog" | ||
| description: "meta description" | ||
| draft: false | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| title: "Blog" | ||
| description: "meta description" | ||
| draft: false | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| --- | ||
| date: "2022-03-23" | ||
| title: "Optimizing the product as a whole" | ||
| draft: false | ||
| author_info: | ||
| name: "Adrien Delsalle" | ||
| image: "images/team/adrien.jpeg" | ||
| image: "images/blog/optim_as_a_whole.jpg" | ||
| article_url: "https://www.linkedin.com/pulse/optimizing-product-whole-twiinit/?trackingId=5AmEy2%2FgCeMKVSbMIsJ6nA%3D%3D" | ||
| reading_time: "5 min" | ||
| --- | ||
|
|
||
| The best product is not the collection of the best parts (...) | ||
| --- | ||
| date: "2022-03-23" | ||
| title: "Optimizing the product as a whole" | ||
| draft: false | ||
| author_info: | ||
| name: "Adrien Delsalle" | ||
| image: "images/team/adrien.jpeg" | ||
| image: "images/blog/optim_as_a_whole.jpg" | ||
| article_url: "https://www.linkedin.com/pulse/optimizing-product-whole-twiinit/?trackingId=5AmEy2%2FgCeMKVSbMIsJ6nA%3D%3D" | ||
| reading_time: "5 min" | ||
| --- | ||
| The best product is not the collection of the best parts (...) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| date: "2022-03-23" | ||
| title: "Optimiser le produit dans son ensemble" | ||
| draft: false | ||
| author_info: | ||
| name: "Adrien Delsalle" | ||
| image: "images/team/adrien.jpeg" | ||
| image: "images/blog/optim_as_a_whole.jpg" | ||
| article_url: "https://www.linkedin.com/pulse/optimizing-product-whole-twiinit/?trackingId=5AmEy2%2FgCeMKVSbMIsJ6nA%3D%3D" | ||
| reading_time: "5 min" | ||
| --- | ||
|
|
||
| Le meilleur produit n'est pas la collection des meilleures parties (...) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| title: "Contact us" | ||
| subtitle: "Get in touch" | ||
| contact_image: "images/vectors/contact.png" | ||
| form_title: "Send A Message" | ||
| form_name_label: "Full Name" | ||
| form_email_label: "Email Address" | ||
| form_message_label: "Your Message" | ||
| form_phone_label: "Phone" | ||
| form_button_label: "Send Message" | ||
| form_success_message: "Thanks for your submission!" | ||
| form_error_message: "Oops! There was a problem submitting your form" | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| title: "Contactez-nous" | ||
| subtitle: "Prenez contact" | ||
| contact_image: "images/vectors/contact.png" | ||
| form_title: "Envoyer un message" | ||
| form_name_label: "Nom complet" | ||
| form_email_label: "Adresse e-mail" | ||
| form_message_label: "Votre message" | ||
| form_phone_label: "Téléphone" | ||
| form_button_label: "Envoyer le message" | ||
| form_success_message: "Merci pour votre soumission !" | ||
| form_error_message: "Oops ! Il y a eu un problème lors de l'envoi de votre formulaire" | ||
| --- |
8 changes: 4 additions & 4 deletions
8
content/customers/centrale_lyon.md → content/customers/centrale_lyon.en.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| --- | ||
| image: "images/brands/centrale_lyon.png" | ||
| external_url: "https://www.ec-lyon.fr/" | ||
| --- | ||
| --- | ||
| image: "images/brands/centrale_lyon.png" | ||
| external_url: "https://www.ec-lyon.fr/" | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| image: "images/brands/centrale_lyon.png" | ||
| external_url: "https://www.ec-lyon.fr/" | ||
| --- |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This format is not supported in more recent hugo version