Skip to content

Redesign: Decidim Design Guide translation page (address)#12562

Merged
andreslucena merged 10 commits intodecidim:developfrom
greenwoodt:fix/design-module-translations/part-8
Mar 7, 2024
Merged

Redesign: Decidim Design Guide translation page (address)#12562
andreslucena merged 10 commits intodecidim:developfrom
greenwoodt:fix/design-module-translations/part-8

Conversation

@greenwoodt
Copy link
Copy Markdown
Member

🎩 What? Why?

Decidim Design translations for the Address section.

📌 Related Issues

Testing

  1. Generate a new development_app
  2. Go to http://localhost:3000/design
  3. Inspect the Address section.
  4. See the page translated.

📷 Screenshots

♥️ Thank you!

@greenwoodt greenwoodt added type: internal PRs that aren't necessary to add to the CHANGELOG for implementers project: redesign Barcelona City Council contract labels Mar 5, 2024
@greenwoodt greenwoodt added this to the 0.29.0 milestone Mar 5, 2024
github-actions[bot]
github-actions bot previously approved these changes Mar 5, 2024
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a git conflict here and also some missing translations in decidim-design/app/helpers/decidim/design/address_helper.rb, can you check them out please?

github-actions[bot]
github-actions bot previously approved these changes Mar 5, 2024
@andreslucena
Copy link
Copy Markdown
Member

@greenwoodt git conflict and also the i18n-tasks failing. Can you check it out please?

@andreslucena andreslucena self-assigned this Mar 6, 2024
@greenwoodt
Copy link
Copy Markdown
Member Author

@greenwoodt git conflict and also the i18n-tasks failing. Can you check it out please?

Due to the conflicts I'd prefer to wait until #12532 is merged before continuing.

github-actions[bot]
github-actions bot previously approved these changes Mar 6, 2024
github-actions[bot]
github-actions bot previously approved these changes Mar 6, 2024
@greenwoodt greenwoodt requested a review from andreslucena March 6, 2024 18:11
@andreslucena andreslucena changed the title Redesign: Decidim Design translations page (address) Redesign: Decidim Design Guide translations page (address) Mar 7, 2024
@andreslucena andreslucena changed the title Redesign: Decidim Design Guide translations page (address) Redesign: Decidim Design Guide translation page (address) Mar 7, 2024
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just realized that we're using the id as the value for the translation and also as the anchor tag. This is going to be a problem when sharing URLs as the fragment part will change in the different languages.

For the moment let's go on with what you're doing (using the i18n key in the id) and after all is merged we'll change this to use another key in the section hash, as I don't want to have broken URLs.

@andreslucena andreslucena merged commit 8bff0b0 into decidim:develop Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project: redesign Barcelona City Council contract type: internal PRs that aren't necessary to add to the CHANGELOG for implementers

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants