feat(ai): support translating question and answer drafts (#1611) ## What changed - Add an AI translation endpoint for question and answer draft content. - Add translation controls to question and answer editors. - Preserve Markdown and other structured content through the translation prompt. - Add an administrator setting to enable or disable translation. - Default translation to enabled for existing installations. - Expose translation availability through site information. - Add localized English and Chinese strings. - Add tests for parsing, provider errors, configuration defaults, and translation requests. screenshot <img width="793" height="783" alt="image" src="https://github.com/user-attachments/assets/fb88b91a-13a0-4fe8-a89d-1e16d3c9ca3c" /> <img width="1203" height="681" alt="image" src="https://github.com/user-attachments/assets/183fd1a6-d9b9-4cb6-8c72-9fe3130155ff" /> Closes #1610 --------- Co-authored-by: LinkinStars <linkinstar@foxmail.com>
A Q&A platform software for teams at any scales. Whether it’s a community forum, help center, or knowledge management platform, you can always count on Answer.
To learn more about the project, visit answer.apache.org.
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:2.0.3
For more information, see Installation.
Answer provides a plugin system for developers to create custom plugins and expand Answer’s features. You can find the plugin documentation here.
We value your feedback and suggestions to improve our documentation. If you have any comments or questions, please feel free to contact us. We’re excited to see what you can create using our plugin system!
You can also check out the plugins here.
# Install wire and mockgen for building. You can run `make check` to check if they are installed. $ make generate # Install frontend dependencies and build $ make ui # Install backend dependencies and build $ make build
Contributions are always welcome!
See CONTRIBUTING for ways to get started.