Django: Display current locale in a template - Stack Overflow
2011年6月15日 - I need to embed the current locale in a Django template's output (as part of a ... I know that I can access the current language as {{ LANGUAGE_CODE }} if I { load i18n } ... I solved this by including code below in the template
stackoverflow.com |