You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "davidzollo (via GitHub)" <gi...@apache.org> on 2026/01/06 10:26:19 UTC
[I] [Website] Add i18n capability to blog section [seatunnel]
davidzollo opened a new issue, #10289:
URL: https://github.com/apache/seatunnel/issues/10289
### Description
The blog section in [seatunnel-website](https://github.com/apache/seatunnel-website/tree/main/blog) currently lacks internationalization (i18n) capability. While the documentation and other sections of the website support multiple languages (English and Chinese), the blog plugin configuration does not have i18n features enabled.
### Current Situation
- The blog configuration in `docusaurus.config.js` does not include i18n-related configurations
- The `/blog` directory contains English blog posts
- The `/i18n/zh-CN/docusaurus-plugin-content-blog` directory exists but lacks proper i18n support configuration
### Proposed Solution
Add i18n capability to the blog plugin configuration in `docusaurus.config.js`:
```javascript
blog: {
showReadingTime: true,
editLocalizedFiles: true, // Add this
editUrl: ({ locale, versionDocsDirPath, docPath }) => { // Update this
if (locale !== "en") {
return `https://github.com/apache/seatunnel-website/edit/main/i18n/${locale}/docusaurus-plugin-content-blog/${docPath}`;
}
return `https://github.com/apache/seatunnel-website/edit/main/blog/${docPath}`;
},
},
```
This configuration will:
1. Enable proper i18n support for blog posts
2. Allow localized blog content to be managed in the `/i18n/{locale}/docusaurus-plugin-content-blog` directory
3. Provide correct edit URLs for both English and localized blog posts
### References
- Docusaurus Blog i18n: https://docusaurus.io/docs/blog#i18n
- Current blog config: https://github.com/apache/seatunnel-website/blob/main/docusaurus.config.js
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Website] Fix i18n capability to blog section [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo closed issue #10289: [Website] Fix i18n capability to blog section
URL: https://github.com/apache/seatunnel/issues/10289
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Website] Fix i18n capability to blog section [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #10289:
URL: https://github.com/apache/seatunnel/issues/10289#issuecomment-3860973397
> [@davidzollo](https://github.com/davidzollo) No problem! I'd love to help with the Google Translate issue. I'll dig into the language codes and script settings.
>
> Should I open a new issue for tracking, or just go straight to a PR?
Good job, please open a new issue for tracking the translation issue, thx.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Website] Fix i18n capability to blog section [seatunnel]
Posted by "zooo-code (via GitHub)" <gi...@apache.org>.
zooo-code commented on issue #10289:
URL: https://github.com/apache/seatunnel/issues/10289#issuecomment-3860933806
@davidzollo No problem! I'd love to help with the Google Translate issue.
I'll dig into the language codes and script settings.
Should I open a new issue for tracking, or just go straight to a PR?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Website] Fix i18n capability to blog section [seatunnel]
Posted by "zooo-code (via GitHub)" <gi...@apache.org>.
zooo-code commented on issue #10289:
URL: https://github.com/apache/seatunnel/issues/10289#issuecomment-3860581048
Hi @davidzollo
Can I take this?
I have experience running docs with VitePress, so I'm pretty familiar with i18n configs.
I'd like to help fix the `docusaurus.config.js`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Website] Fix i18n capability to blog section [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #10289:
URL: https://github.com/apache/seatunnel/issues/10289#issuecomment-3860896903
> Hi [@davidzollo](https://github.com/davidzollo) Can I take this? I have experience running docs with VitePress, so I'm pretty familiar with i18n configs. I'd like to help fix the `docusaurus.config.js`.
Thanks for your help. I have already solved this problem, but I forgot to close this issue.
Now there's another problem. I found that the Google Translate used on the official website does not translate into the corresponding languages when switching between the following languages. Are you interested in fixing it?
<img width="2526" height="862" alt="Image" src="https://github.com/user-attachments/assets/6ea68c94-df9f-4c58-8dcd-45fd98a6e499" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org