Skip to content

Update SemanticDomains-*.xml with trimmed English semantic domain descriptions #4333

Description

@imnasnainaec

Follow-up from sillsdev/FwLocalizations#5 ("Trim semantic domain descriptions") — see the task-list comment. That PR trimmed the English semantic domain descriptions in FwLocalizations lists/LocalizableLists.xml; this repo holds independent copies that need the same update.

A second follow-up, sillsdev/FwLocalizations#7 ("Fix semantic domain punctuation and spaces", merged), made 22 further punctuation/whitespace corrections to the same lists/LocalizableLists.xml — these need to be folded into the 12 SemanticDomains-*.xml files' embedded English text as well:

  • Missing terminal period added to Description text (8): Pain, Confession, Prosperity and Trouble, Countryside, Catch, Prevent, Symmetrical, Nicknames
  • Wrong terminal punctuation fixed (.?) (5): Old age Description (?.); Questions for Blood money, Majority, Encourage/Incite, and Nicknames (.?)
  • Stray trailing space before closing tag removed (7 Questions): Insanity, Body movement (forward/out), Situation/circumstances, Gnomic present, Strong (self-explanatory), Noun forms, Subordinator
  • Stray space before punctuation removed (2): head ExampleWords (fang , tusk), Sacred writings Description (religions .)

Full diff: https://github.com/sillsdev/FwLocalizations/pull/7/files

Task: update deploy/scripts/semantic_domains/xml/SemanticDomains-{ar,es,fr,hi,id,ml,my,pt,ru,sw,te,zh}.xml (12 language files).

Details from the comment:

  • There is no -en file — English lives inside each file as ws="en" runs.
  • SemanticDomains-fr.xml: The example words are from ×4, Add other domains… ×4 → stale.
  • These are static committed copies: database/Dockerfile does COPY semantic_domains/* /data/semantic-domains/; deploy/scripts/sem_dom_import.py converts XML→JSON at build. No generation from FwLocalizations.
  • Actively maintained — recent commit Purge sem dom examples (#4302) (2026-06-15), i.e. the same clean-up effort that Trim semantic domain descriptions FwLocalizations#5 references ([DataEntry] Reduce long domain descriptions #1456 / Remove example refs from sem dom descriptions #4301).
  • Generator bridge: in FieldWorks Build/Localize.targets, the convertLocalizedListsToXliff / prepareSemanticDomainForCrowdin targets convert LocalizedLists-*.xml ↔ xliff, and PrepareSemanticDomainForTheCombine converts xliff → SemanticDomains-<locale>.xml — the generator behind TheCombine's committed copies.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions