Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a translation context #184

Open
mgeisler opened this issue Apr 16, 2024 · 1 comment
Open

Add support for a translation context #184

mgeisler opened this issue Apr 16, 2024 · 1 comment

Comments

@mgeisler
Copy link
Collaborator

mgeisler commented Apr 16, 2024

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 google/comprehensive-rust#1973 (comment)

@mgeisler
Copy link
Collaborator Author

This is about adding support for the translation context.

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

No branches or pull requests

1 participant