Hi, I’m from Argentina and I’m trying to set up a squeleton, but I can’t set the language correctly.
I follow the documentation steps, but I can’t translate the months.
How to set the Spanish language by default?
Thank you!
Hi Lucas,
Try to set this property in your user/config/site.yaml
after title:
line.
default_lang: es
Add this in your user/config/system.yaml
:
languages:
supported:
- es
default_lang: es
include_default_lang: false
pages_fallback_only: false
translations: true
translations_fallback: true
session_store_active: false
http_accept_language: false
override_locale: false
If you don’t see languages applied, try to translate Template or try with this plugin: https://github.com/getgrav/grav-plugin-langswitcher
Happy hacking!
Para ello debes modificar un archivo, checa