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
|
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 |
|
Weaxs
|
c3719406ac
|
中文(简体) -> 简体中文
中文(繁體) -> 繁體中文
|
2024-03-20 19:30:24 +08:00 |
|
Weaxs
|
0bc9b9af6a
|
translate docs/tags/users/content listing page
|
2024-03-11 19:41:50 +08:00 |
|
Nuno Coração
|
35a5b61881
|
initial language setup for ja it zh-cn
|
2024-03-11 10:12:03 +00:00 |
|