Thank for your answer. but I want to know settings_local.py path.
please, let me know. Thanks. 2012년 3월 6일 화요일 오전 1시 57분 35초 UTC+9, Roberto Rosario 님의 말: > > Sure, create a settings_local.py file with the following content: > > LANGUAGE_CODE = 'es' > > MIDDLEWARE_CLASSES = ( > 'common.middleware.strip_spaces_widdleware.SpacelessMiddleware', > 'django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.middleware.csrf.CsrfViewMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.messages.middleware.MessageMiddleware', > 'common.middleware.login_required_middleware.LoginRequiredMiddleware', > > 'permissions.middleware.permission_denied_middleware.PermissionDeniedMiddleware', > 'pagination.middleware.PaginationMiddleware', > ) > > The MIDDLEWARE_CLASSES is the same as in the default settings.py file but > without the 'django.middleware.locale.LocaleMiddleware' to keep the > language on the one set by the LANGUAGE_CODE setting. > > change the 'es' in LANGUAGE_CODE setting to any of the supported language > codes: > > 'es' - 'Spanish' > 'pt' - 'Portuguese' > 'ru'- 'Russian' > 'it' - 'Italian' > 'pl' - Polish > > Thanks for supporting my work :) > > On Monday, March 5, 2012 12:09:18 PM UTC-4, orsomannaro wrote: >> >> I'm trying Mayan but I'm new in Python/Django: is it possibile to set a >> default language different from English? >> >> >> Thank you so much for sharing your work! >> > -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
