Skip to content

[FIX] website: theme selector in website creator translated #1052

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

Draft
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

dabo-odoo
Copy link

@dabo-odoo dabo-odoo commented Mar 19, 2025

When a website is created, the theme selector's three sample themes SVGs are in english, even if the website is in another language.

Steps to reproduce:

  • Install another language in the settings
  • Create a website using a language other than english
  • Proceed throught the website creation steps until the theme selection is reached
  • The three sample themes are in english even though the website is in another language

After the change the sample themes are correctly translated in the chosen language.

Community PR: odoo/odoo#201007

task-3415840

@robodoo
Copy link
Collaborator

robodoo commented Mar 19, 2025

Pull request status dashboard

@dabo-odoo dabo-odoo force-pushed the 16.0-website-theme-preview-translated-dabo branch from 71159d8 to 918b94c Compare March 20, 2025 08:41
@dabo-odoo dabo-odoo force-pushed the 16.0-website-theme-preview-translated-dabo branch from 918b94c to 9bff83e Compare March 21, 2025 07:38
This fix allows the theme SVG previews to be translated into other
languages, so that users with languages other than english creating a
website can see the offered themes in their own language.

Community PR: odoo/odoo#201007

task-3415840
@dabo-odoo dabo-odoo force-pushed the 16.0-website-theme-preview-translated-dabo branch from 9bff83e to 410ba50 Compare March 27, 2025 09:29
dabo-odoo added a commit to odoo-dev/odoo that referenced this pull request May 15, 2025
Before this change, when a user is creating a website, the three theme
previews that appear at the last step are always in english, even if
the user installed another language.

Steps to reproduce:

- Go into the user preferences and install any other language
- Switch to that language
- Install the website app and follow the creation steps
=> When you reach the theme preview step, the themes will be in english
even if another language was selected

After the change, the theme previews get translated and appear in the
language chosen by the user.

design-themes PR: odoo/design-themes#1052

task-3415840
dabo-odoo added a commit to odoo-dev/odoo that referenced this pull request May 26, 2025
Before this change, when a user is creating a website, the three theme
previews that appear at the last step are always in english, even if
the user installed another language.

Steps to reproduce:

- Go into the user preferences and install any other language
- Switch to that language
- Install the website app and follow the creation steps
=> When you reach the theme preview step, the themes will be in english
even if another language was selected

After the change, the theme previews get translated and appear in the
language chosen by the user.

design-themes PR: odoo/design-themes#1052

task-3415840
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.

2 participants