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

website: Add localization to pages, header and footer #852

Merged
merged 3 commits into from Jan 20, 2023

Conversation

rjmacarthy
Copy link
Contributor

Hey, this is a follow up PR for #779 which includes the following changes:

  • Add i18n provider for server side rendered pages using common namespace.
  • Add localization to Header and Footer and associated components from common namespace.

Unfortunately its necessary to call serverSideTranslations on each page level component see https://github.com/i18next/next-i18next#serversidetranslations for more information.

Please let me know if you have any questions or concerns.

Fix import orders for useTranslation

Apply common translations for header and footer

lint

Fix getServerSideProps messages/id
@rjmacarthy rjmacarthy changed the title Add localization to pages, header and footer website: Add localization to pages, header and footer Jan 19, 2023
@github-actions
Copy link

pre-commit failed.
Please run pre-commit run --all-files locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md

@fozziethebeat fozziethebeat merged commit c81967f into LAION-AI:main Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants