Commit Graph
9 Commits
Author SHA1 Message Date
xixu-me 2f4f8e99ea fix(google): route fallback through XDPL
CI / verify (push) Waiting to run
2026-08-19 17:16:19 +08:00
xixu-me 23b21479b8 fix(google): switch client on final retry 2026-08-19 17:03:11 +08:00
xixu-me dceed2e720 fix(google): send translations as form data 2026-08-19 17:00:22 +08:00
xixu-me 4e854481e1 fix(google): fail over between compatible hosts 2026-08-19 16:54:57 +08:00
xixu-me d885923253 fix(google): use stable translation endpoint 2026-08-19 16:52:53 +08:00
xixu-me e58b8273c2 fix(test): restore lint and jest coverage 2026-03-30 22:16:00 +08:00
xixu-me 1076a5817f Remove Microsoft Translator integration and update docs
Eliminated Microsoft Translator support from the codebase, including its service implementation, API endpoint, and related tests. Updated both English and Chinese README files to reflect the removal and to clarify usage of DeepL and Google endpoints, providing improved examples and API documentation.
2025-08-09 18:41:49 +08:00
xixu-me e30b019cd2 Refactor Microsoft Translator integration and tests
Refactored the Microsoft Translator service to use a parameter object for translation requests, improved language code normalization, and enhanced error handling. Updated integration and unit tests to match the new API and moved Microsoft Translator unit tests to a new location under tests/lib/services. Removed the old test file and added more comprehensive test coverage for translation scenarios and error cases.
2025-08-09 18:18:36 +08:00
xixu-me c54500dc79 Add Google Translate provider and multi-provider support
Introduces a Google Translate integration with a new service module and endpoint (/google), refactors translation handling to support both DeepL and Google providers, and updates cache key generation to include the provider. Adds integration and unit tests for the new provider and updates API route definitions for clarity and extensibility.
2025-08-09 14:05:37 +08:00