define language specific settings \AtBeginDocuments