[Answer]-Get current month in spanish language Python

1👍

You will need to have a date passed to your template from the view. Then to get the current month you need to do

{{ mydate|date:"F" }}

This will give you the month name i.e January using template tags and filters

To get it in Spanish, enable Spanish by enabling internationalization and creating localization strings for Spanish. You can even use the humanize template tag which has localizations available in Spanin

Leave a comment