Fix regex for capturing category names
Propagate locale
Merge pull request #1582 from ThatOtherPerson/fix-copy-comments

Fix regex for capturing category names