Skip to content

feat: add i18n #21

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 74 commits into
base: master
Choose a base branch
from
Open

feat: add i18n #21

wants to merge 74 commits into from

Conversation

c1chy-jott
Copy link
Contributor

No description provided.

Updated the layout of the team page to make it fixed and improved the routing logic by using 'vue-router'. Also added locale support for the team collection query.
The commit translates German blog content into English, updating titles, descriptions, and body text accordingly while improving structure and language clarity. It ensures the content aligns with its intended audience and SEO practices.
The index.vue page now includes a localePath function to properly handle localization. This function is used to generate the correct link for each team member using their locale slug. Also, a console log for debugging team value is added.
Improved the data fetching method in the team page by using route parameters and making the collection dynamic based on the locale. Added console logs for debugging purposes.
This commit enhances data fetching in the blog post detail page by adding more parameters to the collection query. It also adds console logs to debug the fetching process. The change aims to improve the performance and reliability of the blog post display.
The slug for Annika's profile in the team section has been updated in both the German and English versions of the website. The slug has been simplified for easier access.
Refactored the content configuration to dynamically generate collections and schemas based on a defined list of locales. This change simplifies the code and makes it easier to manage multiple locales. The schemas for team and articles are also updated with additional properties.
This commit modifies the slugs in the team markdown files for Inke, Jan, Arian, Conner, Jonathan, and Paul. The 'team/' prefix was removed from each slug, making them more concise.
@c1chy-jott c1chy-jott marked this pull request as ready for review February 14, 2025 18:27
This commit includes content updates and typo fixes in the following blog posts:
- wie-koennen-blockchains-unternehmen-bereichern.md
- github-copilot-dein-neuer-ki-programmierassistent.md
- hashtags-auf-instagram.md
- was-ist-eigentlich-eine-vektorgrafik.md
- was-ist-das-iot-und-wofür-wird-es-benötigt-mit-praxisbeispiel.md

The changes mainly involve correcting minor grammatical errors, optimizing sentence structure, and improving the overall readability of the posts.
Replaced static paths with `localePath` to ensure proper handling of localized blog URLs. This improves internationalization and ensures URLs dynamically adapt to the user's selected language.
Updated various dependencies to newer versions, including @nuxt/content, sass, puppeteer, and @vueuse packages, among others. These updates enhance compatibility, fix bugs, and improve functionality across the project.
@JonathanSchndr JonathanSchndr changed the title feat: english language with i18n and md nuxt content 3 feat: add i18n Feb 17, 2025
Refactor the Image.vue component to improve code readability and maintainability.
- Reorder the div class properties for better readability.
- Add types to `style` variable for more robust code.
- Improve the formatting of import statements.
- Add spaces for better readability in conditions.
- Replace deprecated `fade_out` function with `color.scale` in styles for better compatibility with the latest sass version.
The imprint page in the project has been updated to support internationalization. All static texts have been replaced with dynamic translations using the Vue I18n plugin. This will make it easier to manage translations and support multiple languages in the future.
Update the `de-DE.json` and `en-GB.json` locale files to include more detailed imprint information. The updates include details such as contact information, VAT identification number, dispute resolution procedures, liability for content and links, and copyright information.
Reorganized the privacy page to replace static texts with translations using localization (`t` function) for better multi-language support. Enhanced maintainability by removing repetitive definitions and ensuring dynamic content loading.
…onent to show logo on the same place as menu
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant