core.py translation