diff --git a/content/page/acerca.de.md b/content/page/acerca.de.md deleted file mode 100644 index e0c4bbc..0000000 --- a/content/page/acerca.de.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "Über uns" -lang: de -manual_translation: true -translated_from: es ---- - -**Viena Latina** ist die lateinamerikanische Gemeinschaft in Wien: Tourismusführer, kulturelle Agenda, Gastronomie, Gemeinschaftsleben und lateinamerikanische Geschäfte in der Stadt. diff --git a/content/page/acerca.pt-br.md b/content/page/acerca.pt-br.md deleted file mode 100644 index ceab01f..0000000 --- a/content/page/acerca.pt-br.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Sobre -lang: pt-br -manual_translation: false -translated_from: es ---- - -**Viena Latina** é a comunidade latino-americana em Viena: guias de turismo, agenda cultural, gastronomia, vida comunitária e lojas latinas na cidade. diff --git a/content/page/contacto.de.md b/content/page/contacto.de.md deleted file mode 100644 index 0ac15a2..0000000 --- a/content/page/contacto.de.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Kontakt -lang: de -manual_translation: false -translated_from: es ---- - -Schreiben Sie uns an **hola@vienalatina.com**. diff --git a/content/page/contacto.pt-br.md b/content/page/contacto.pt-br.md deleted file mode 100644 index 1cac483..0000000 --- a/content/page/contacto.pt-br.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Contacto -lang: pt-br -manual_translation: false -translated_from: es ---- - -Escreva-nos a **hola@vienalatina.com**. diff --git a/content/post/bienvenida-a-viena-latina.de.md b/content/post/bienvenida-a-viena-latina.de.md deleted file mode 100644 index 572acfa..0000000 --- a/content/post/bienvenida-a-viena-latina.de.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: "Willkommen bei Viena Latina" -date: 2026-07-31 -slug: bienvenida-a-viena-latina -lang: de -manual_translation: false -categories: [Comunidad] -description: "Die neue Website von Viena Latina: schneller, selbst gehostet und mit überprüfbaren Übersetzungen auf Deutsch und Portugiesisch." ---- - -Das ist das neue Zuhause von **Viena Latina**. Die Website ist jetzt komplett -statisch: Jeder Artikel wird auf Spanisch veröffentlicht und automatisch ins -Deutsche und brasilianische Portugiesisch übersetzt, mit eigenen URLs pro -Sprache. - -Für unsere Leserinnen und Leser ändert sich nichts — dieselben Rubriken wie -immer: Tourismus, Kultur, Gastronomie, Gemeinschaft und Handel. Alles lädt -schneller, ohne Cookies und ohne Tracker. diff --git a/content/post/bienvenida-a-viena-latina.es.md b/content/post/bienvenida-a-viena-latina.es.md deleted file mode 100644 index 5084ebe..0000000 --- a/content/post/bienvenida-a-viena-latina.es.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: "Bienvenida a Viena Latina" -date: 2026-07-31 -lang: es -manual_translation: false -categories: [Comunidad] -description: "El nuevo sitio de Viena Latina: más rápido, autoalojado y con traducciones revisables en alemán y portugués." ---- - -Este es el nuevo hogar de **Viena Latina**. El sitio ahora es completamente -estático: cada artículo se publica en español y se traduce automáticamente al -alemán y al portugués brasileño, con URLs propias para cada idioma. - -Nada cambia para quienes nos leen — las mismas secciones de siempre: Turismo, -Cultura, Gastronomía, Comunidad y Comercio. Todo carga más rápido, sin cookies -y sin rastreadores. diff --git a/content/post/bienvenida-a-viena-latina.pt-br.md b/content/post/bienvenida-a-viena-latina.pt-br.md deleted file mode 100644 index 695df2d..0000000 --- a/content/post/bienvenida-a-viena-latina.pt-br.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "Bem-vindos ao Viena Latina" -date: 2026-07-31 -slug: bienvenida-a-viena-latina -lang: pt-br -manual_translation: false -categories: [Comunidad] -description: "O novo site do Viena Latina: mais rápido, auto-hospedado e com traduções revisáveis em alemão e português." ---- - -Este é o novo lar do **Viena Latina**. O site agora é totalmente estático: -cada artigo é publicado em espanhol e traduzido automaticamente para o alemão -e o português brasileiro, com URLs próprias para cada idioma. - -Nada muda para quem nos lê — as mesmas seções de sempre: Turismo, Cultura, -Gastronomia, Comunidade e Comércio. Tudo carrega mais rápido, sem cookies e -sem rastreadores. diff --git a/content/post/hola-mundo.es.md b/content/post/hola-mundo.es.md new file mode 100644 index 0000000..3a19758 --- /dev/null +++ b/content/post/hola-mundo.es.md @@ -0,0 +1,13 @@ +--- +title: "Hola mundo" +date: 2026-09-18 +lang: es +manual_translation: false +categories: [Comunidad] +--- + +Bienvenidos al nuevo sitio de Viena Latina. + +Publicamos en español, y cada artículo aparece también en alemán y en portugués. +Aquí vas a encontrar turismo, cultura, gastronomía, comunidad y comercio latino +en Viena. diff --git a/fetch-models.sh b/fetch-models.sh new file mode 100644 index 0000000..e9d43a9 --- /dev/null +++ b/fetch-models.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash +# Download and convert the OPUS-MT models into $DEST (default /srv/mt-models). +# Containers run as root so pip lands on PATH and can write to the root-owned +# target; the pipeline mounts that directory read-only. +set -euo pipefail +DEST="${1:-/srv/mt-models}" +MODELS=( + "Helsinki-NLP/opus-mt-es-de" + "Helsinki-NLP/opus-mt-tc-big-de-es" + "Helsinki-NLP/opus-mt-tc-big-itc-itc" +) +for REPO in "${MODELS[@]}"; do + NAME="${REPO##*/}" + if [ -f "$DEST/$NAME/model.bin" ]; then + echo "== $NAME already present, skipping" + continue + fi + echo "== converting $NAME" + docker run --rm --memory=3g -v "$DEST:/out" python:3.12-slim bash -c " + set -e + pip install --quiet 'transformers[torch]' ctranslate2 sentencepiece \ + --extra-index-url https://download.pytorch.org/whl/cpu + ct2-transformers-converter --model $REPO --output_dir /out/$NAME --quantization int8 + python -c 'import sys +from transformers import AutoTokenizer +AutoTokenizer.from_pretrained(sys.argv[1]).save_pretrained(sys.argv[2])' $REPO /out/$NAME + " +done +echo +du -sh "$DEST"/*