first try of porting current l10n functions to carto
unfortunately this is really ugly without XML entities