mdbook-i18n-helpers icon indicating copy to clipboard operation
mdbook-i18n-helpers copied to clipboard

Add support for a translation context

Open mgeisler opened this issue 10 months ago • 2 comments

Yeah, we haven't added that, though I suspect it can follow a similar pattern to how we're doing comments.

So probably a sketch of supporting this would be:

  • Define another HTML comment directive to let authors specify the ctxt, similar to what we're doing here

  • Collect and thread that state when we're gathering groups for translation.

  • Finally, pass the ctxt here and call the builder method for setting the ctxt.

So I think this would be fairly straightforward extension.

Originally posted by @dyoo in https://github.com/google/comprehensive-rust/pull/1973#discussion_r1563132168

mgeisler avatar Apr 16 '24 09:04 mgeisler

This is about adding support for the translation context.

mgeisler avatar Apr 16 '24 09:04 mgeisler

I am planning to work on this feature, assigned to myself.

kdarkhan avatar Aug 31 '24 12:08 kdarkhan