Add docstrings to l10n.py