adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
10.26k stars 2.72k forks source link

Feature/multilingual footer #1602

Open joelson91 opened 2 months ago

joelson91 commented 2 months ago

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

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud