Commit Graph

8 Commits

Author SHA1 Message Date
Eric Gusmao 7c127074f9 fix: migrate deprecated Hugo v0.158.0 language API
Replace deprecated config keys and template methods per Hugo v0.158.0:

Config (10 files):
- languageCode → locale
- languageName → label

Templates:
- site.LanguageCode → site.Language.Locale (baseof.html, head.html, schema.html x2)
- site.Language.Lang → site.Language.Name (single.html)
- .Lang → .Language.Name (likes.html, views.html)

Ref: https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869
2026-03-25 11:15:20 -03:00
Nuno Coração 1d88d5b296 Add 5 new languages to exampleSite: German, French, Spanish, Portuguese
Add complete translations for:
- German (de)
- French (fr)
- Spanish (es)
- Portuguese Brazil (pt-br)
- Portuguese Portugal (pt-pt)

Changes include:
- Language config files (languages.*.toml)
- Menu config files (menus.*.toml)
- Translated docs section (16 files x 5 langs)
- Translated homepage, guides, samples
- Translated examples, authors, tags sections
- Translated users section (112 dirs x 5 langs)
- Fixed YAML front matter formatting in user files

Hugo build now supports 9 languages total.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 22:49:50 +00:00
Nuno Coração eebbf00941 corrected 2025-01-10 22:50:01 +00:00
Nuno Coração a517624b70 final changes 2024-08-28 16:48:38 +01:00
Nuno Coração c8b2c245a8 final polish 2024-03-20 22:01:51 +00:00
Lemon73-Computing eaff5aae11 change: date format 2024-03-14 17:24:22 +09:00
Lemon73 8620d809fe translate: languages.ja.toml 2024-03-13 22:12:54 +09:00
Nuno Coração 35a5b61881 initial language setup for ja it zh-cn 2024-03-11 10:12:03 +00:00