def format_field(self, value, spec):
if spec.startswith('<STR_LIT>'):<EOL><INDENT>_, format_ = spec.split('<STR_LIT::>', <NUM_LIT:1>)<EOL>return self.format_date(value, format_)<EOL><DEDENT>elif spec.startswith('<STR_LIT>'):<EOL><INDENT>_, format_ = spec.split('<STR_LIT::>', <NUM_LIT:1>)<EOL>return self.format_datetime(value, format_)<EOL><DEDENT>elif spec == '<STR_LIT>':<EOL><INDENT>return self.format_number(value)<EOL><DEDENT>else:<EOL><INDENT>return super(I18nFormatter, self).format_field(value, spec)<EOL><DEDENT>
Provide the additional formatters for localization.