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

Translation of dynamic fields does not work #934

Closed
ebartz opened this issue Jul 19, 2020 · 1 comment
Closed

Translation of dynamic fields does not work #934

ebartz opened this issue Jul 19, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@ebartz
Copy link
Contributor

ebartz commented Jul 19, 2020

Describe the bug
Whenever I change a translation for somthing that contains dynamic values, after changing the translation the dynamic value is not shown anymore. Instead it just prints out: foo {1} bar

To Reproduce

  1. Create a new Event

  2. Change a translation that contains a dynamic value. In my case its the ticket left translation:

image

  1. Review the event page:

image

Expected behavior
I do expect, that on the event page it will show noch 12 übrig.

Additional context
I also checked the database to see if there is something that gets escaped. The TRANSLATION_OVERRIDE field contains this:

{
    "de": {
        "common.free": "Kostenlos",
        "reservation-page-complete.your-tickets": "Ihre Tickets",
        "show-event.tickets": "Registrierung",
        "show-event.tickets.left": "noch {0} übrig"
    }
}

I also checked this on the global configration level. It also does not work if you change the global translation settings.

@cbellone cbellone self-assigned this Jul 27, 2020
@cbellone cbellone added the bug label Jul 27, 2020
@cbellone cbellone added this to the 2.0-M3 milestone Jul 27, 2020
@syjer syjer self-assigned this Jul 29, 2020
@syjer
Copy link
Member

syjer commented Jul 29, 2020

should be fixed now :)

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

No branches or pull requests

3 participants