most common tools are gettext and babel
!
import gettext as _
print _("Translate me.")
!
from babel import dates, numbers
dates.format_datetime(date, locale='de')
numbers.format_decimal(1.234, locale='de')
!
!
basics
babel gotchas
“strings might be marked as fuzzy — if you have
fuzzy entries, make sure to check them by hand
and remove the fuzzy flag before compiling.”
• find the last translation date
• run string extraction
• send po file for translation
• wait…
• get translations back
• integrate with app
• ….
mundane dev