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 a new field within the profile PostReplace #207

Open
psmits1567 opened this issue Nov 26, 2023 · 0 comments
Open

Add a new field within the profile PostReplace #207

psmits1567 opened this issue Nov 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@psmits1567
Copy link

Currently two auto translators are implemented DeepL and OpenAI. They do not give perfect translations, but that could be improved by adding a function that replaces words from key pairs stored within the profile of the user.
Steps to perform

  1. Read the field PostReplace when page is opened.
  2. After fetching the suggestion from OpenAI or DeepL, check the translation if it contains a word from the PostReplace field.
  3. If present replace the word before presenting the suggestion.
  4. If not present use the suggestion provided.

Example key pairs:
gemeenschap,community
alsjeblieft,
alstublieft,
kenmerk,attribuut

If the second part is empty remove the word from the translation.

@psmits1567 psmits1567 added the enhancement New feature or request label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant