Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feature/multilingual footer #1602

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

Conversation

joelson91
Copy link

What does this PR change?
This PR modifies the footer template to replace the static “Powered by” text with a dynamic variable that supports multiple languages. It introduces a new translation key for the footer text and updates the template to use this key, allowing the footer text to change based on the selected language.

What problem does it solve?
This change solves the issue of having a static footer text that does not adapt to different languages. By making the footer text dynamic and language-sensitive, it enhances the user experience for non-English speakers and ensures consistency across different language versions of the site.

Note: only the files i18n/en.yaml and i18n/pt.yaml have been updated to include the translation.

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

Copy link

sonarcloud bot commented Sep 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant