set locale for messages if the system supports it
typo
extractor dies on incomplete tokens