Skip to content

Conversation

homelab-alpha
Copy link
Contributor

PR: Add Dutch Language Support and I18N Features

✨ Feature: Dutch Translation & Internationalization (I18N)

This update introduces Dutch language support, enhancing the multilingual capabilities of the platform. It also lays the groundwork for future translations, with a focus on nl/docs.

🔧 Configuration Updates

  • Added Dutch language support to hugo.toml
  • Introduced Dutch translation file (nl.toml)

✅ Summary of Changes

  • Enabled Dutch language in hugo.toml
  • Added Dutch translation file (nl.toml)
  • Translated the following content in nl/docs:
    • quickstart.md
    • code.md
    • mermaid.md
    • All index.md files
    • example-doc.md

🔍 Checklist

  • Code tested and confirmed to work as expected
  • Documentation updates included in this PR
  • Verified that all internationalization (I18n) changes are accurate
  • No new errors or warnings introduced

🎨 Dark Mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI (by default NO)

- Updated `hugo.toml` to include Dutch language configuration.
- Added the `nl` language section to support the newly added Dutch translation for Lotus Docs.
- Adjusted language weight for proper ordering with the addition of Dutch.

modified: exampleSite/hugo.toml
- Added the Dutch translation file (`nl.toml`) for localization in Lotus Docs.
- Translations are needed to support the newly added `nl.toml` file, which will provide content in Dutch.
- This includes translations for UI elements like language selection, search, and feedback prompts.

new file: i18n/nl.toml
- Added Dutch translation to the `quickstart.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/quickstart.md
- Added Dutch translation to the `_index.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/example-content/_index.md
- Added Dutch translation to the `code.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/example-content/code.md
- Added Dutch translation to the `mermaid.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/example-content/mermaid.md
- Added Dutch translation to the `_index.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/section folder/_index.md
- Added Dutch translation to the `_index.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/section folder/section subfolder/_index.md
- Added Dutch translation to the `_index.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/section folder/section subfolder/second section subfolder/_index.md
- Added Dutch translation to the `_index.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/section folder/section subfolder/second section subfolder/third section subfolder/_index.md
- Added Dutch translation to the `example-doc.md` file.
- Translation was necessary due to the addition of a new I18N `nl.toml` file to Lotus Docs.
- The `nl/docs` section now includes the Dutch version of the content of Lotus Docs.

new file: exampleSite/content/nl/docs/section folder/section subfolder/second section subfolder/third section subfolder/example-doc.md
Copy link

netlify bot commented Apr 22, 2025

Deploy Preview for hugo-lotusdocs ready!

Name Link
🔨 Latest commit 07b05f7
🔍 Latest deploy log https://app.netlify.com/projects/hugo-lotusdocs/deploys/683dd7a4773b9500082661b6
😎 Deploy Preview https://deploy-preview-230--hugo-lotusdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@homelab-alpha
Copy link
Contributor Author

@colinwilson, if you have some time, I would appreciate some feedback on this PR. I also have a question: is it possible to add the landing.yaml in multiple languages to the current project, or does it still need to be added to Lotus Docs?

@colinwilson colinwilson added the enhancement New feature or request label Jun 2, 2025
@colinwilson colinwilson added this to the v0.3.0 milestone Jun 2, 2025
@homelab-alpha homelab-alpha marked this pull request as ready for review June 2, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants