def all_locale_paths():
 from django.conf import settings
 globalpath = os.path.join(os.path.dirname(sys.modules[settings.__module__].__file__), 'locale')
 return ([globalpath] + list(settings.LOCALE_PATHS))

def all_locale_paths ( ) : from django . conf import settings globalpath = os . path . join ( os . path . dirname ( sys . modules [ settings . __module__ ] . __file__ ) , 'locale' ) return ( [ globalpath ] + list ( settings . LOCALE_PATHS ) )
returns a list of paths to user-provides languages files .