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

Special treatment for Scripture references #10

Open
mvahowe opened this issue Apr 14, 2023 · 0 comments
Open

Special treatment for Scripture references #10

mvahowe opened this issue Apr 14, 2023 · 0 comments

Comments

@mvahowe
Copy link
Contributor

mvahowe commented Apr 14, 2023

These seem to confuse DeepL and, also, need to be not altered if we ever want to construct clickable links. My approach to this class of problem so far has been

  • identify the relevant text using regexes
  • replace them with uid placeholders, store the original values
  • do the translation
  • swap the original values back in

In addition, while we're doing this, we should convert the Tyndale reference format to the standard USFM one, including canonical book abbreviations.

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