Skip to content

American to British: stop converting words with another meaning - #342

Merged
niksedk merged 1 commit into
mainfrom
claude/a2b-homograph-words
Nov 5, 2026
Merged

niksedk merged 1 commit into
mainfrom
claude/a2b-homograph-words

Conversation

@niksedk

@niksedk niksedk commented Nov 5, 2026

Copy link
Copy Markdown
Member

Fixes SubtitleEdit/subtitleedit#16366 for the SE5 plugin. The SE4 list already had `pants` commented out (0509bd1); the shared SE5 list did not.

These pairs are now `only="BrToUs"`. British to American still converts them, and that direction is correct:

US word Was turned into Why it is wrong
pants trousers verb: "she pants"
tire, tires tyre(s) verb: "I never tire of it"
draft, drafts draught(s) document, military or sports draft are "draft" in British English too
practice, practices practise(s) "practice" is the British noun (a doctor's practice)
license licence "license" is the British verb
program, programs programme(s) a computer program is "program" in British English
meter, meters metre(s) a parking/gas meter is "meter"
install, installs instal(s) "install" is standard British English

Unambiguous forms such as practiced, practising, draughty and draughtsman still convert.

Adds a regression test.

🤖 Generated with Claude Code

pants (verb), tire (verb), draft (document), practice/license (British
nouns), program (computer), meter (device) and install are standard
British English in those senses, so US->BR replaced correct text
("She pants" -> "She trousers"). They now only apply British to American.

SubtitleEdit/subtitleedit#16366

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@niksedk
niksedk merged commit ba4e4cf into main Nov 5, 2026
136 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin: American => British Translation of "pants" to "Trousers" is wrong when "pants" is a verb

1 participant