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

Add initial French translation for home page #1019

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
12 changes: 7 additions & 5 deletions _i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ footer:
license: License
privacy_policy: Privacy policy
contact_us: Contact us
text: "Juan Linietsky, Ariel Manzur and <a href='https://github.com/godotengine/godot/blob/master/AUTHORS.md' target='_blank' rel='noopener'>contributors</a>. Hosted by the <a href='https://godot.foundation/' target='_blank' rel='noopener'>Godot Foundation</a>. Website <a href='https://github.com/godotengine/godot-website' target='_blank' rel='noopener'>source code on GitHub</a>."
text: "Juan Linietsky, Ariel Manzur and <a href='https://github.com/godotengine/godot/blob/master/AUTHORS.md' target='_blank' rel='noopener'>contributors</a>. Hosted by the <a href='https://godot.foundation/' target='_blank' rel='noopener'>Godot Foundation</a>. Website <a href='https://github.com/godotengine/godot-website' target='_blank' rel='noopener'>source code on GitHub</a>."
sponsors:
title: "Godot is sponsored by:"
text: If you are interested in a corporate sponsorship, please write to <a href='mailto:[email protected]'>[email protected]</a>.<br>To donate as an individual, you can do so through the <a href='https://fund.godotengine.org/'>Godot Engine development fund</a>.
Expand All @@ -45,8 +45,10 @@ home:
h1: Your free, open&#8209;source<br>game engine.
subtitle: Develop your 2D &amp; 3D games, cross-platform projects, or even XR ideas!
whats_new: What's new
whats_new_tooltip: See what's new in Godot
download_latest: Download Latest
looking_for: 'Looking for <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Download the long-term support version of Godot 3">Godot 3</a>, our <a href="/download/archive">experimental releases</a>, or a <a href="/download/archive">previous version</a>?'
download_latest_tooltip: Download the latest version of Godot 4
looking_for: 'Looking for <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Download the latest version of Godot 3">Godot 3</a>, our <a href="/download/archive">experimental releases</a>, or a <a href="/download/archive">previous version</a>?'
latest_news: Latest news
more_news: More news
cards:
Expand All @@ -57,7 +59,7 @@ home:
script:
title: Use the right language for the job
text: Keep your code modular with an object-oriented API using Godot's own GDScript, C#, C++, or bring your own using GDExtension.
extra: C# support is currently only available for desktop and mobile platforms as of Godot 4.2.<br>Use Godot 3 to run C# on the Web platform.
extra: C# support for the Web platform is not yet available in Godot 4.<br>Use Godot 3 to run C# on the Web platform.
2d:
title: Dedicated 2D engine
text: Make crisp and performant 2D games with Godot's dedicated 2D rendering engine with real 2D pixel coordinates and 2D nodes.
Expand All @@ -66,7 +68,7 @@ home:
text: Godot's 3D nodes give you everything you need to build, animate, and render your 3D worlds and characters.
deploy:
title: Release on all platforms
text: Deploy your game on desktop, mobile, and the web in seconds. Godot even supports consoles through third party publishers.
text: Deploy your game on desktop, mobile, and the web in seconds. Godot also supports consoles through third party providers.
open:
title: Open Source
text: "Truly open development: anyone who contributes to Godot benefits equally from others’ contributions."
Expand All @@ -87,4 +89,4 @@ home:
text: Found a problem with the engine? Don't forget to report it so that developers can track it down.
foundation:
text: "You don't need to be an engine developer to help Godot. Join the <a href='https://fund.godotengine.org/'>development fund</a> and help us make the Godot&nbsp;Engine even more awesome!"
donate: Donate
donate: Donate
8 changes: 5 additions & 3 deletions _i18n/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ home:
h1: Tu motor de juegos gratuito<br> y de código abierto.
subtitle: Desarrolla tus juegos 2D y 3D, proyectos multiplataforma o incluso XR
whats_new: Novedades
whats_new_tooltip: Ver lo nuevo en Godot
download_latest: Descargar Última Versión
looking_for: '¿Buscas <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Descarga la versión de soporte a largo plazo de Godot 3">Godot 3</a>, nuestras <a href="/download/archive">versiones experimentales</a>, o una <a href="/download/archive">versión anterior</a>?'
download_latest_tooltip: Descarga la última versión de Godot 4
looking_for: '¿Buscas <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Descarga la última versión de Godot 3">Godot 3</a>, nuestras <a href="/download/archive">versiones experimentales</a>, o una <a href="/download/archive">versión anterior</a>?'
latest_news: Últimas noticias (en inglés)
more_news: Más noticias
cards:
Expand All @@ -57,7 +59,7 @@ home:
script:
title: "Usa el lenguaje adecuado para cada trabajo"
text: "Mantén tu código modular con una API orientada a objetos usando GDScript, C#, C++, o trae el tuyo propio usando GDExtension."
extra: "El soporte para C# solo está disponible actualmente para plataformas de escritorio y móviles en Godot 4.2. Usa Godot 3 para ejecutar C# en Web."
extra: "El soporte para C# en la plataforma Web no está disponible actualmente en Godot 4.<br>Usa Godot 3 para ejecutar C# en Web."
2d:
title: "Motor 2D dedicado"
text: "Crea juegos 2D con el motor de renderizado 2D dedicado de Godot con coordenadas de píxeles 2D reales y nodos 2D."
Expand Down Expand Up @@ -87,4 +89,4 @@ home:
text: ¿Encontraste un problema con el motor? No olvides reportarlo para que los desarrolladores puedan solucionarlo.
foundation:
text: "No necesitas ser un desarrollador para ayudar a Godot. ¡Únete al <a href='https://fund.godotengine.org/'>fondo de desarrollo</a> y ayúdanos a hacer el motor Godot aún más impresionante!"
donate: Dona
donate: Dona
92 changes: 92 additions & 0 deletions _i18n/fr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
meta:
description: Développez vos jeux 2D et 3D, projets multi-plateformes ou expériences de réalité augmentée&#8239;!
header:
features: Fonctionnalités
showcase: Succès
blog: Blog
community: Communauté
assets: Assets
download: Télécharger
docs: Docs
contribute: Contribuer
donate: Faire un don
language: Langue
footer:
download: Télécharger
documentation: Documentation
features: Fonctionnalités
web_editor: Éditeur web
release_archive: Répertoire des versions
source_code: Code source
project: Projet
blog: Blog
code_of_conduct: Code de conduite
governance: Gouvernance
teams: Équipes
priorities: Priorités
communities: Communautés
resources: Ressources
asset_library: Bibliothèque d'assets
press_kit: Dossier de presse
showcase: Succès
education: Éducation
foundation: Fondation
about: À propos
donate: Faire un don
license: Licence
privacy_policy: Politique de confidentialité
contact_us: Nous contacter
text: "Juan Linietsky, Ariel Manzur et <a href='https://github.com/godotengine/godot/blob/master/AUTHORS.md' target='_blank' rel='noopener'>contributeurs</a>. Hébergé par la <a href='https://godot.foundation/' target='_blank' rel='noopener'>Fondation Godot</a>. <a href='https://github.com/godotengine/godot-website' target='_blank' rel='noopener'>Code source du site sur GitHub</a>."
sponsors:
title: "Godot est sponsorisé par :"
text: Si vous souhaitez devenir un sponsor commercial, contactez <a href='mailto:[email protected]'>[email protected]</a>.<br>Si vous voulez faire un don privé, vous pouvez le faire via le <a href='https://fund.godotengine.org/'>fond de développement de Godot Engine</a>.
cta: Faire un don
home:
h1: Votre moteur de jeu<br>libre et gratuit.
subtitle: Développez vos jeux 2D et 3D, projets multi-plateformes ou expériences de réalité augmentée&#8239;!
whats_new: Nouveautés
whats_new_tooltip: Voir les dernières nouveautés de Godot
download_latest: Télécharger Godot
download_latest_tooltip: Télécharger la dernière version de Godot 4
looking_for: 'Cherchez vous <a href="/download/windows/" class="set-os-download-url" data-version="3" title="Télécharger la dernière version de Godot 3">Godot 3</a>, nos <a href="/download/archive">versions expérimentales</a>, ou une <a href="/download/archive">version antérieure</a>&#8239;?'
latest_news: Dernières nouvelles (en anglais)
more_news: Plus d'articles
cards:
h2: Une façon différente de créer des jeux
design:
title: Design novateur
text: Le système de nœuds et de scènes de Godot vous donne à la fois la puissance et la flexibilité pour créer ce que vous voulez.
script:
title: Des langages de programmation pour chaque usage
text: Assurez la modularité de votre code avec une interface de programmation orientée objet utilisant le langage GDScript de Godot, les langages C# ou C++, ou votre langage préféré via GDExtension.
extra: Le support de C# pour la plateforme Web n'est pas encore inclus dans Godot 4, mais est supporté dans Godot 3.
2d:
title: Moteur 2D dédié
text: Créez des jeux 2D précis et performants avec le moteur de rendu 2D spécialisé de Godot, qui est basé sur de vraies coordonnées en pixels et des nœuds 2D dédiés.
3d:
title: La 3D simple et puissante
text: Les nœuds 3D de Godot vous fournissent tout ce dont vous avez besoin pour construire, animer, et faire le rendu graphique de vos univers et personnages en 3D.
deploy:
title: Publiez sur toutes les plateformes
text: Exportez votre jeu sur les plateformes PC, mobiles et web en quelques secondes. Godot supporte aussi les consoles via des tiers.
open:
title: Logiciel libre
text: "Développement 100% ouvert&#8239;: tous les utilisateurs et contributeurs de Godot profitent au même titre des contributions des autres."
cta: En savoir plus sur Godot
get_involved:
title: Participer
text: Rejoignez la communauté et aidez à créer un moteur de jeu qui appartient à tout un chacun.
cards:
cta: En savoir plus
code:
title: Programmer
text: Si vous savez programmer, vous pouvez aider à corriger des bugs et participer avec les autres contributeurs à implémenter de nouvelles fonctionnalités.
document:
title: Documenter
text: Une documentation de qualité est primordiale pour un moteur de jeu. Aidez à l'améliorer en mettant à jour les descriptions de l'interface de programmation, en écrivant de nouvelles pages ou en corrigeant des coquilles.
report:
title: Signaler
text: Vous avez rencontré un problème dans le moteur&#8239;? N'oubliez pas de le signaler pour que les développeurs puissent le corriger.
foundation:
text: "Il n'est pas nécessaire d'être un contributeur de code pour soutenir le projet Godot. Rejoignez le <a href='https://fund.godotengine.org/'>fond de développement</a> pour nous aider à rendre le moteur Godot encore plus impressionnant&#8239;!"
donate: Faire un don
7 changes: 4 additions & 3 deletions assets/js/localize.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
// Get the language label
const languageMap = {
'en': 'English',
'es': 'Español',
'de': 'Deutsch',
'es': 'Español',
'fr': 'Français',
'ja': '日本語',
'pt': 'Português',
'zh': '中文',
'pt': 'Português'
};

document.querySelectorAll('.localize-language-label').forEach(function(el) {
const lang = el.textContent;
if (languageMap[lang]) {
el.textContent = languageMap[lang];
}
});
});
7 changes: 4 additions & 3 deletions pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
title:
en: "Godot Engine - Free and open source 2D and 3D game engine"
es: "Godot Engine - Motor de videojuegos 2D y 3D gratuito y de código abierto"
fr: "Godot Engine - Moteur de jeu 2D et 3D libre et gratuit"
notitlesuffix: true
description: "Godot provides a huge set of common tools, so you can just focus on making your game without reinventing
the wheel."
layout: default
localize: ["en", "es"]
localize: ["en", "es", "fr"]
---

{% include header.html %}
Expand Down Expand Up @@ -212,12 +213,12 @@ <h1>{% t home.h1 %}</h1>
<div class="main-download-links">
<div class="main-download-links-buttons">
<a href="/download/windows/" class="btn btn-download set-os-download-url" data-version="4"
title="Download the latest version of Godot 4">
title="{% t home.download_latest_tooltip %}">
<div class="download-title">{% t home.download_latest %}</div>
<div class="download-hint">{{ stable_version_4.name }}</div>
</a>
<a href="/releases/" class="btn btn-whats-new"
title="See what's new in Godot">
title="{% t home.whats_new_tooltip %}">
<div class="download-title">{% t home.whats_new %}</div>
</a>
</div>
Expand Down