diff --git a/README.md b/README.md index 926044d..5c65e21 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,15 @@ AttributeIDSupressMenu = "AttributeIDSupressMenu" teh = "teh" ``` -For localized content, you might want to exclude the entire file +For localized content, you can disable spell checking of file contents while still checking the file name: +```toml +[type.po] +extend-globs = ["*.po"] +check-file = false +``` +(run `typos --type-list` to see configured file types) + +If that doesn't catch the cases you can need, you can completely exclude some files from consideration: ```toml [files] extend-exclude = ["localized/*.po"]