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

Tokenizer Localisation #676

Merged
merged 8 commits into from
Feb 17, 2021
Merged

Tokenizer Localisation #676

merged 8 commits into from
Feb 17, 2021

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Feb 16, 2021

This PR:

  • Adds a small lookup dictionary loaded from JSON files to the NWProject class.
  • These files are loaded based on the GUI spell check language or project spell check language if the latter is overriding the former.
  • The dictionary is used for lookups from the Tokenizer class and its subclasses, and are used for making sure the added content to the generated text output is the same language as the text, regardless of the GUI language.

@vkbo vkbo merged commit ae53ce5 into dev Feb 17, 2021
@vkbo vkbo deleted the tokenizer_localisation branch February 17, 2021 00:37
@vkbo vkbo added this to the Release 1.3 Beta 1 milestone Feb 17, 2021
@vkbo vkbo linked an issue Feb 17, 2021 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Translations of novelWriter
1 participant