Log in

HCMC Journal

Monument 2026-06-01 to 2026-06-05

to : Martin Holmes
Minutes: 840

On Monday, received a batch of English text for three pages on the website, all of which is provisional so we can’t yet translate it. Added it into the site, and rebuilt. Then worked on the auto-translation system, and by the end of the day I basically had it working as planned: about 400 strings of text can now be automatically rendered into Japanese, and we can keep adding to the set of translatable strings based on whether it’s going to be helpful or not to translate a specific string in a specific context.

On Tuesday, continued refining this and adding new strings with Japanese equivalents. I also notice that it might be helpful to auto-process the punctuation as part of the QuickFix, so I’ll talk that over with AN.

On Wednesday, worked with AN to add some more auto-translate components, including the entire first sentence when it constitutes the formulaic date-of-birth intro, and punctuation conversions. The process seems to be going well and will speed things up a lot, I think.

On Thursday, we discovered that when the bios.sch Schematron file was inserted into the document header, the regular validation functionality (whereby the editor would prompt with element and attribute names when editing) was turned off. It turns out that when you specify a schema in the Schema tab of the Oxygen Document Type specification dialog, that schema is only active if there is no locally-defined schema. To get both schemas to work simultaneously, you have to define a Validation Scenario in which the first entry is the regular schema, and the second is the locally-defined schema. This took a while to figure out. Then a bug emerged which took more time to track down: I had not realized that the English caption Home is also rendered as Home in Japanese; this meant that a template matching an item containing that word would loop infinitely. I put in a trap to prevent the creation of templates in such cases. Finally, I injected the English content for the Privacy page, from JJ.

On Friday, built and published a fresh version to the dev site.