Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
10 changes: 5 additions & 5 deletions content/es/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ <h1 id="title">

<section id="landing-panels" class="container">
<div class="panels">
{{< content_panel type="dark" title="latest_news" text="Rápido, seguro y simple: el modo ambient de Istio ya está Disponible de forma General." button="read_more" url="/blog/2024/ambient-reaches-ga/" >}}
{{< content_panel type="dark" title="join_the_community" text="Conecta con más de 10.000 de tus compañeros que usan, prueban e innovan con Istio." button="connect_with_us" url="/get-involved" >}}
{{< content_panel type="dark" title="latest_news" text="Rápido, seguro y simple: el modo ambient de Istio ya está Disponible de forma General." button="read_more" url="/es/blog/2024/ambient-reaches-ga/" >}}
{{< content_panel type="dark" title="join_the_community" text="Conecta con más de 10.000 de tus compañeros que usan, prueban e innovan con Istio." button="connect_with_us" url="/es/get-involved" >}}
{{< content_panel type="dark" title="get_started" text="Prueba Istio hoy. Evalúa rápidamente el proyecto en cuatro pasos." button="learn_more" url="/es/docs/overview/quickstart" >}}
</div>
</section>
Expand All @@ -53,7 +53,7 @@ <h1>¿Qué es Istio?</h1>
</p>

<div class="cta-container">
<a class="btn" href="/about/service-mesh">Aprende más</a>
<a class="btn" href="/es/about/service-mesh">Aprende más</a>
</div>
</section>

Expand All @@ -63,7 +63,7 @@ <h1>Con la confianza de</h1>
{{< logo_carousel >}}

<div class="cta-container">
<a class="btn" href="/about/case-studies">Lee nuestros casos de estudio</a>
<a class="btn" href="/es/about/case-studies">Lee nuestros casos de estudio</a>
</div>
</section>

Expand Down Expand Up @@ -97,7 +97,7 @@ <h1>Proveedores de Istio</h1>
</div>

<div class="cta-container">
<a class="btn" href="/about/ecosystem#providers">Ver todos los proveedores</a>
<a class="btn" href="/es/about/ecosystem#index">Ver todos los proveedores</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: why change it #providers for #index?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, that is a mistake, good catch!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my question would be, do you need the /es/? Do inline links not automatically get linked to the right localisation? I've only ever worked on en so I'm not sure

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was broken before; it was redirecting to the en link for providers, so I'm assuming that they are not linked automatically. All the fixes in this PR I tested manually xD, so these were the ones that I found while I navigated

</div>
</section>

Expand Down
13 changes: 13 additions & 0 deletions content/es/news/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Noticias
linktitle: Noticias
description: Selecciona boletines de seguridad, anuncios de lanzamientos o anuncios de soporte para mantenerte al día.
sidebar_multicard: true
decoration: pill
layout: news-feed
outputs:
- html
- rss
---

¡Bienvenido a la sección de noticias de Istio en español!
7 changes: 7 additions & 0 deletions content/es/news/releases/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Anuncios de lanzamientos
description: Anuncios de todos los lanzamientos principales y parches de Istio.
weight: 8
decoration: pill
data_category: Anuncios de lanzamientos
---
8 changes: 8 additions & 0 deletions content/es/news/security/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Boletines de seguridad
description: Vulnerabilidades de seguridad divulgadas y su mitigación.
weight: 7
list_by_publishdate: true
layout: security-grid
data_category: Boletines de seguridad
---
7 changes: 7 additions & 0 deletions content/es/news/support/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Anuncios de soporte
description: Anuncios sobre ventanas de soporte.
weight: 15
list_by_publishdate: true
data_category: Anuncios de soporte
---
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ disableAliases = true
# i18n for Spanish
[[languages.es.menu.main]]
identifier = "about"
name = "About"
name = "Acerca de"
title = "Acerca de la sección"
weight = 1

Expand Down
6 changes: 6 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -391,3 +391,9 @@ other = "⚠️ This documentation is for an older version (<strong>%s</strong>)

[archive_banner_link]
other = "Read the latest version."

[not_found_message]
other = "We're sorry, the page you requested cannot be found"

[not_found_explanation]
other = "The URL may be misspelled or the page you're looking for is no longer available"
7 changes: 7 additions & 0 deletions i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -390,3 +390,10 @@ other = "⚠️ Esta documentación es para una versión anterior (<strong>%s</s

[archive_banner_link]
other = "Lee la última versión."

[not_found_message]
other = "Lo sentimos, la página que solicitaste no se puede encontrar"

[not_found_explanation]
other = "La URL puede estar mal escrita o la página que buscas ya no está disponible"

4 changes: 2 additions & 2 deletions layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</svg>

<div class="error">
We're sorry, the page you requested cannot be found
{{ i18n "not_found_message" }}
</div>

<div class="explanation">
The URL may be misspelled or the page you're looking for is no longer available
{{ i18n "not_found_explanation" }}
</div>
</main>

Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
{{ end }}
{{ if eq $home.Lang "zh" }}
<a class="footer-policies-link" href="https://github.com/istio/istio.io/edit/{{ .Site.Data.args.doc_branch_name }}/content/zh/{{ $file }}">{{ i18n "edit_on_github" }}</a>
{{ else if eq $home.Lang "es" }}
<a class="footer-policies-link" href="https://github.com/istio/istio.io/edit/{{ .Site.Data.args.doc_branch_name }}/content/es/{{ $file }}">{{ i18n "edit_on_github" }}</a>
{{ else }}
<a class="footer-policies-link" href="https://github.com/istio/istio.io/edit/{{ .Site.Data.args.doc_branch_name }}/content/en/{{ $file }}">{{ i18n "edit_on_github" }}</a>
{{ end }}
Expand Down