Skip to content

Runtime error fixes#18

Open
HannoZ wants to merge 11 commits into
masterfrom
runtime-error-fixes
Open

Runtime error fixes#18
HannoZ wants to merge 11 commits into
masterfrom
runtime-error-fixes

Conversation

@HannoZ
Copy link
Copy Markdown
Owner

@HannoZ HannoZ commented May 17, 2026

  • Refactored LexicalaClient to support dependency injection and added translation enrichment methods.
  • Introduced TranslationEnricher class to handle translation logic for entries and senses.
  • Added new translation endpoints: TranslateToAsync, TranslateExampleAsync, and TranslatePhraseAsync.
  • Enhanced error handling for API rate limits in LexicalaClient.
  • Updated Sense and HeadwordObject models to include new properties for translations.
  • Created unit tests for search definitions and translation functionalities.
  • Added demo project launch settings for local development.
  • Included sample JSON response files for testing.

HannoZ and others added 9 commits May 16, 2026 20:32
… features

- Refactored LexicalaClient to support dependency injection and added translation enrichment methods.
- Introduced TranslationEnricher class to handle translation logic for entries and senses.
- Added new translation endpoints: TranslateToAsync, TranslateExampleAsync, and TranslatePhraseAsync.
- Enhanced error handling for API rate limits in LexicalaClient.
- Updated Sense and HeadwordObject models to include new properties for translations.
- Created unit tests for search definitions and translation functionalities.
- Added demo project launch settings for local development.
- Included sample JSON response files for testing.
Comment thread .github/workflows/beta-package.yml Fixed
}
catch (LexicalaApiException ex)
{
_logger.LogDebug(ex, "Translation fallback failed for source '{SourceText}' to '{TargetLanguage}'", sourceText, targetLanguage);
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.

2 participants