Skip to content
Discussion options

You must be logged in to vote

Okay this is the method...

Note that Translation objects does not handle macros (macros operate on Translation objects), use Translation.translate_macro(macro) or Translation.translate_stroke(stroke) instead if that's necessary.

Note: if you use Plover's Translation objects, make sure to not pass it directly Formatter.format() (instead, copy it with Translation(translation.strokes, translation.english))), so the formatting attribute is not destroyed/modified (which is important to ensure that the undo actions are correct).

Note: See also How can I use Plover as a library from an independent script? · Discussion #1292 · openstenoproject/plover if you get some error.

from plover_build_utils.t…

Replies: 1 comment 1 reply

Comment options

user202729
Apr 24, 2021
Collaborator Author

You must be logged in to vote
1 reply
@benoit-pierre
Comment options

Answer selected by user202729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants